about summary refs log tree commit diff
path: root/examples/aflpp_driver
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-10 08:47:52 +0200
committervan Hauser <vh@thc.org>2020-08-10 08:47:52 +0200
commit9b71f7e5e49ee5fd9987fadbaca2f0e548680b33 (patch)
tree459df41f3250a1fa97b9b9814771be18e1d19bc0 /examples/aflpp_driver
parent9945c1648b519b0ef1490ee5eba97665af7f4caf (diff)
downloadafl++-9b71f7e5e49ee5fd9987fadbaca2f0e548680b33.tar.gz
debug
Diffstat (limited to 'examples/aflpp_driver')
-rw-r--r--examples/aflpp_driver/aflpp_driver.c3
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.