about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-08-09 14:33:23 +0000
committerGitHub <noreply@github.com>2023-08-09 14:33:23 +0000
commit7f3b0a9503f90b86e8c196c6b405f0a4c8a7babc (patch)
tree6774e014c7560c29d6ab93c83857cfab7ff9c3ba /src
parentd9cadb2e7db1d1c208cd40299f0e5c4f6364aa2c (diff)
parent2c376f899456f3c9ecd010832e5be87c59e8c947 (diff)
downloadafl++-7f3b0a9503f90b86e8c196c6b405f0a4c8a7babc.tar.gz
Merge pull request #1829 from devnexen/fix_build_fuzzqueen
afl-fuzz-redqueen.c fix build, also forgotten math lib for ilog* calls
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-redqueen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c
index ca5104c0..509f66a3 100644
--- a/src/afl-fuzz-redqueen.c
+++ b/src/afl-fuzz-redqueen.c
@@ -2525,6 +2525,7 @@ static u8 rtn_fuzz(afl_state_t *afl, u32 key, u8 *orig_buf, u8 *buf, u8 *cbuf,
     */
 
 #ifdef _DEBUG
+    u32 j;
     struct cmp_header *hh = &afl->orig_cmp_map->headers[key];
     fprintf(stderr, "RTN N hits=%u id=%u shape=%u attr=%u v0=", h->hits, h->id,
             hshape, h->attribute);