diff options
| author | van Hauser <vh@thc.org> | 2020-12-23 14:58:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 14:58:52 +0100 |
| commit | 7dc433a0c0efb236a2ab6fa4006a91aa02e26779 (patch) | |
| tree | b0a48cd22af9aaa9695b61d08499232dbe9f0f36 /utils | |
| parent | 1078409875cacc5626a3961e08cf67c68049d22a (diff) | |
| parent | 8d10d12ab344bdf6dfe0478e927c92278b4aac78 (diff) | |
| download | afl++-7dc433a0c0efb236a2ab6fa4006a91aa02e26779.tar.gz | |
Merge pull request #637 from AFLplusplus/dev
minor push to stable
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/afl_proxy/afl-proxy.c | 2 | ||||
| -rw-r--r-- | utils/afl_untracer/afl-untracer.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/afl_proxy/afl-proxy.c b/utils/afl_proxy/afl-proxy.c index f2dfeac1..aa7a361a 100644 --- a/utils/afl_proxy/afl-proxy.c +++ b/utils/afl_proxy/afl-proxy.c @@ -213,7 +213,7 @@ int main(int argc, char *argv[]) { u32 len; /* here you specify the map size you need that you are reporting to - afl-fuzz. */ + afl-fuzz. Any value is fine as long as it can be divided by 32. */ __afl_map_size = MAP_SIZE; // default is 65536 /* then we initialize the shared memory map and start the forkserver */ 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); |
