about summary refs log tree commit diff
path: root/utils/afl_untracer/afl-untracer.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-18 09:36:22 +0100
committerGitHub <noreply@github.com>2020-12-18 09:36:22 +0100
commit3ee12009c0ef79e8a48e8e1066d9ff9193b37d3a (patch)
treecd53e186830019befe67bb90a2a01d4be781c439 /utils/afl_untracer/afl-untracer.c
parent0011f2047bdd3e1adc25de4388edd609dc27bc85 (diff)
parent79c98731c9864d457df06cfb4e1c15137e0cf832 (diff)
downloadafl++-3ee12009c0ef79e8a48e8e1066d9ff9193b37d3a.tar.gz
Merge pull request #641 from AFLplusplus/dev
Dev
Diffstat (limited to 'utils/afl_untracer/afl-untracer.c')
-rw-r--r--utils/afl_untracer/afl-untracer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/afl_untracer/afl-untracer.c b/utils/afl_untracer/afl-untracer.c
index cb6f948c..695f8dd1 100644
--- a/utils/afl_untracer/afl-untracer.c
+++ b/utils/afl_untracer/afl-untracer.c
@@ -568,7 +568,7 @@ void setup_trap_instrumentation(void) {
     lib_addr[offset] = 0xcc;  // replace instruction with debug trap
     if (debug)
       fprintf(stderr,
-              "Patch entry: %p[%x] = %p = %02x -> SHADOW(%p) #%d -> %08x\n",
+              "Patch entry: %p[%lx] = %p = %02x -> SHADOW(%p) #%d -> %08x\n",
               lib_addr, offset, lib_addr + offset, orig_byte, shadow,
               bitmap_index, *shadow);
 
@@ -582,7 +582,7 @@ void setup_trap_instrumentation(void) {
     *patch_bytes = 0xd4200000;  // replace instruction with debug trap
     if (debug)
       fprintf(stderr,
-              "Patch entry: %p[%x] = %p = %02x -> SHADOW(%p) #%d -> %016x\n",
+              "Patch entry: %p[%lx] = %p = %02x -> SHADOW(%p) #%d -> %016x\n",
               lib_addr, offset, lib_addr + offset, orig_bytes, shadow,
               bitmap_index, *shadow);