about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-12-11 10:55:49 +0100
committerGitHub <noreply@github.com>2021-12-11 10:55:49 +0100
commit16011ec057997f9e3fb067f94c8eb1e3db5aa353 (patch)
treebf3cd4091ced1fec0d279b41b7b8b9631e24b103
parent2e2e35ea611213b8fce8db0f5812275f3ed67846 (diff)
parent7650547614b469eb6d52ac7a739708c92df997b7 (diff)
downloadafl++-16011ec057997f9e3fb067f94c8eb1e3db5aa353.tar.gz
Merge pull request #1204 from yuawn/dev
rename path in gramatron
-rw-r--r--custom_mutators/gramatron/gramfuzz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_mutators/gramatron/gramfuzz.c b/custom_mutators/gramatron/gramfuzz.c
index 5f6906bd..9c9dbb43 100644
--- a/custom_mutators/gramatron/gramfuzz.c
+++ b/custom_mutators/gramatron/gramfuzz.c
@@ -211,7 +211,7 @@ size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
   } else if (data->mut_idx == 2) {  // Perform splice mutation
 
     // we cannot use the supplied splice data so choose a new random file
-    u32                 tid = rand_below(global_afl, data->afl->queued_paths);
+    u32                 tid = rand_below(global_afl, data->afl->queued_items);
     struct queue_entry *q = data->afl->queue_buf[tid];
 
     // Read the input representation for the splice candidate