diff options
author | llzmb <46303940+llzmb@users.noreply.github.com> | 2021-08-31 21:19:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 21:19:04 +0200 |
commit | 9747ac42213126ec99fe8ea47f1320be54135bd1 (patch) | |
tree | 677b0cf3143a1964134a67a1922b70dc20f6be19 /instrumentation/afl-compiler-rt.o.c | |
parent | ec4cae448b10acc0a8c84fc75f298bfaed88195a (diff) | |
parent | fe5b2c355f097705bf0bd7b35b0484b16f87964f (diff) | |
download | afl++-9747ac42213126ec99fe8ea47f1320be54135bd1.tar.gz |
Merge branch 'dev' into docs_edit_readme_move_content_to_docs
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 18b0a55b..9acab4e7 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -1273,7 +1273,12 @@ __attribute__((constructor(1))) void __afl_auto_second(void) { if (__afl_already_initialized_second) return; __afl_already_initialized_second = 1; - if (getenv("AFL_DEBUG")) { __afl_debug = 1; } + if (getenv("AFL_DEBUG")) { + + __afl_debug = 1; + fprintf(stderr, "DEBUG: debug enabled\n"); + + } if (getenv("AFL_DISABLE_LLVM_INSTRUMENTATION")) return; u8 *ptr; |