diff options
author | van Hauser <vh@thc.org> | 2020-08-10 08:47:52 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-10 08:47:52 +0200 |
commit | 9b71f7e5e49ee5fd9987fadbaca2f0e548680b33 (patch) | |
tree | 459df41f3250a1fa97b9b9814771be18e1d19bc0 /examples/aflpp_driver | |
parent | 9945c1648b519b0ef1490ee5eba97665af7f4caf (diff) | |
download | afl++-9b71f7e5e49ee5fd9987fadbaca2f0e548680b33.tar.gz |
debug
Diffstat (limited to 'examples/aflpp_driver')
-rw-r--r-- | examples/aflpp_driver/aflpp_driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/aflpp_driver/aflpp_driver.c b/examples/aflpp_driver/aflpp_driver.c index a3a78b4e..1e7978b3 100644 --- a/examples/aflpp_driver/aflpp_driver.c +++ b/examples/aflpp_driver/aflpp_driver.c @@ -252,6 +252,8 @@ int main(int argc, char **argv) { unsigned char buf[1024000]; + printf("__afl_area_ptr is at %p\n", __afl_area_ptr); + printf( "======================= INFO =========================\n" "This binary is built for afl++.\n" @@ -297,6 +299,7 @@ int main(int argc, char **argv) { // if (!getenv("AFL_DRIVER_DONT_DEFER")) __afl_manual_init(); + fprintf(stderr, "__afl_area_ptr is now at %p\n", __afl_area_ptr); // Call LLVMFuzzerTestOneInput here so that coverage caused by initialization // on the first execution of LLVMFuzzerTestOneInput is ignored. |