diff options
author | vanhauser-thc <vh@thc.org> | 2021-03-17 02:00:14 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-03-17 02:00:14 +0100 |
commit | f36341b3b48061ad8ec191efbf0fdc6801f5ba11 (patch) | |
tree | 2e997cb2047ab2a041b542aaeedd2dec4cfe280e | |
parent | dda4757b358d1d28d5e48028ea22023c3977d706 (diff) | |
download | afl++-f36341b3b48061ad8ec191efbf0fdc6801f5ba11.tar.gz |
when you think you work on a debug branch but it is dev. git sucks so much ...
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 3bd019ac..70148b78 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -1774,14 +1774,14 @@ void __cmplog_rtn_hook(u8 *ptr1, u8 *ptr2) { */ if (unlikely(!__afl_cmp_map)) return; - fprintf(stderr, "RTN1 %p %p\n", ptr1, ptr2); + //fprintf(stderr, "RTN1 %p %p\n", ptr1, ptr2); int l1, l2; if ((l1 = area_is_valid(ptr1, 32)) <= 0 || (l2 = area_is_valid(ptr2, 32)) <= 0) return; int len = MIN(l1, l2); - fprintf(stderr, "RTN2 %u\n", len); + //fprintf(stderr, "RTN2 %u\n", len); uintptr_t k = (uintptr_t)__builtin_return_address(0); k = (k >> 4) ^ (k << 8); k &= CMP_MAP_W - 1; @@ -1812,7 +1812,7 @@ void __cmplog_rtn_hook(u8 *ptr1, u8 *ptr2) { ptr1, len); __builtin_memcpy(((struct cmpfn_operands *)__afl_cmp_map->log[k])[hits].v1, ptr2, len); - fprintf(stderr, "RTN3\n"); + //fprintf(stderr, "RTN3\n"); } |