aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoracture <acturea@gmail.com>2024-04-28 16:24:52 +0800
committeracture <acturea@gmail.com>2024-04-28 16:24:52 +0800
commit58abcceff5af0ad414a10eee928f0f453aed3764 (patch)
tree46bf6d17ef53655833f7fca4c7eecf5071993543
parent2c3f761ede22c132277a855f2219b85a34c6048a (diff)
downloadafl++-58abcceff5af0ad414a10eee928f0f453aed3764.tar.gz
Bug fix: Removed the redundant `id` field from the debug output in the afl-fuzz-redqueen.c file since cmp_header no longer have this field.
-rw-r--r--src/afl-fuzz-redqueen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c
index 100b0dd6..cfa57c1d 100644
--- a/src/afl-fuzz-redqueen.c
+++ b/src/afl-fuzz-redqueen.c
@@ -2764,15 +2764,15 @@ 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,
+ fprintf(stderr, "RTN N hits=%u shape=%u attr=%u v0=", h->hits,
hshape, h->attribute);
for (j = 0; j < 8; j++)
fprintf(stderr, "%02x", o->v0[j]);
fprintf(stderr, " v1=");
for (j = 0; j < 8; j++)
fprintf(stderr, "%02x", o->v1[j]);
- fprintf(stderr, "\nRTN O hits=%u id=%u shape=%u attr=%u o0=", hh->hits,
- hh->id, hshape, hh->attribute);
+ fprintf(stderr, "\nRTN O hits=%u shape=%u attr=%u o0=", hh->hits,
+ hshape, hh->attribute);
for (j = 0; j < 8; j++)
fprintf(stderr, "%02x", orig_o->v0[j]);
fprintf(stderr, " o1=");
@@ -3273,4 +3273,3 @@ exit_its:
return r;
}
-