From 5de630461628e95a7460f16574242f897f874a94 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 19 May 2018 04:05:03 +0430 Subject: 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. --- bfd/test/makefile | 3 ++- bfd/test/test.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'bfd/test') 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); } -- cgit v1.2.3