diff options
author | bloodstalker <thabogre@gmail.com> | 2018-05-18 23:35:03 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-05-18 23:35:03 +0000 |
commit | 5de630461628e95a7460f16574242f897f874a94 (patch) | |
tree | e259b4ea6d6b0421fe605ffece4d98aa5baa8ccb /bfd/test | |
parent | contribution guidelines (diff) | |
download | mutator-5de630461628e95a7460f16574242f897f874a94.tar.gz mutator-5de630461628e95a7460f16574242f897f874a94.zip |
fixes #33. fixed #34. python interpreter should clean up after itself properly so maybe #32 is also sovled but i need more time to know. the stack usage for lua has been reduced so larger number of xobjs are fine now. general cleanup for executioner and bruiser. added a note regarding running obfuscators test. lua no longer needs libreadline to build. bfds test no longer needs libbfd to build.
Diffstat (limited to 'bfd/test')
-rw-r--r-- | bfd/test/makefile | 3 | ||||
-rw-r--r-- | bfd/test/test.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/test/makefile b/bfd/test/makefile index eb8576f..9414f84 100644 --- a/bfd/test/makefile +++ b/bfd/test/makefile @@ -3,7 +3,8 @@ CC?=gcc CC=gcc CC_FLAGS=-fpic -O0 -g -v --debug -LD_FLAGS= -l bfd +#LD_FLAGS= -l bfd +LD_FLAGS= TARGET=test ##################################RULES################################ .DEFAULT:all diff --git a/bfd/test/test.c b/bfd/test/test.c index cac61b6..00f92ad 100644 --- a/bfd/test/test.c +++ b/bfd/test/test.c @@ -13,6 +13,7 @@ double subdouble(double a, double b) {return a-b;} double triple(double a, double b, double c) {return a+b+c;} int quad(int a, int b, int c, int d) {return add2(a,b) + add2(c,d);} const char* passthrough(const char* a) {return a;} +void ext_1(void) {printf("%s", "hey there sleepy-head.\n");} int myvar1 = 1; int myvar2 = 2; @@ -25,5 +26,7 @@ int main(int argc, char** argv) { int sum; sum = add2(10, 20); printf("i live!\n"); - return sub2(20, 10); + int res = sub2(20, 10); + ext_1(); + return quad(1,2,3,4); } |