diff options
Diffstat (limited to 'tests/07-dynlink-globalvar.test')
-rw-r--r-- | tests/07-dynlink-globalvar.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/07-dynlink-globalvar.test b/tests/07-dynlink-globalvar.test index 34970f5..227bc91 100644 --- a/tests/07-dynlink-globalvar.test +++ b/tests/07-dynlink-globalvar.test @@ -1,4 +1,11 @@ #!/bin/sh + +# 1. Inject a freshly built object file into a fresh executable. +# Both use a dynamically loaded function and global variable. +# 2. Detour execution from a function in the executable to a function +# originating from the object file. +# 3. Check if the new executable prints the expected changed output. + source ./boilerplate.sh elfucli --input $BUILDDIR/putsmainsubglobal \ |