diff options
author | Your Name <you@example.com> | 2022-02-01 08:13:28 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2022-02-01 08:13:28 +0000 |
commit | 5f6bbc7dea04cf3ef8fc37c9876e000fb35e9f86 (patch) | |
tree | e94d273b7d7b036ef9d7275871bfbe8a72dfe47e | |
parent | 17fc44d995bd97e53cce4c30b167078b77d39862 (diff) | |
download | afl++-5f6bbc7dea04cf3ef8fc37c9876e000fb35e9f86.tar.gz |
Changes to fix persistent_ret demo
-rw-r--r-- | frida_mode/test/persistent_ret/testinstr.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/frida_mode/test/persistent_ret/testinstr.c b/frida_mode/test/persistent_ret/testinstr.c index d383c340..b2bc19ef 100644 --- a/frida_mode/test/persistent_ret/testinstr.c +++ b/frida_mode/test/persistent_ret/testinstr.c @@ -16,12 +16,6 @@ #include <stdlib.h> #include <unistd.h> -#ifdef __APPLE__ - #define MAIN_SECTION -#else - #define MAIN_SECTION __attribute__((section(".main"))) -#endif - void LLVMFuzzerTestOneInput(char *buf, int len) { printf (">>> LLVMFuzzerTestOneInput >>>\n"); @@ -44,7 +38,7 @@ void slow() { } -MAIN_SECTION int main(int argc, char **argv) { +int main(int argc, char **argv) { char * file; int fd = -1; |