From 7650547614b469eb6d52ac7a739708c92df997b7 Mon Sep 17 00:00:00 2001 From: yuawn Date: Sat, 11 Dec 2021 03:55:34 +0000 Subject: rename path --- custom_mutators/gramatron/gramfuzz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom_mutators') 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 -- cgit 1.4.1 From 6eb752a65cd340a8cf2234d48e32770113ce2416 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Sun, 12 Dec 2021 20:32:18 +0000 Subject: radamsa mutator adding freebsd specific fcntl flags. --- custom_mutators/radamsa/libradamsa.c | 4 ++++ unicorn_mode/unicornafl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'custom_mutators') diff --git a/custom_mutators/radamsa/libradamsa.c b/custom_mutators/radamsa/libradamsa.c index 792eea35..e6838752 100644 --- a/custom_mutators/radamsa/libradamsa.c +++ b/custom_mutators/radamsa/libradamsa.c @@ -4473,6 +4473,10 @@ static word prim_sys(word op, word a, word b, word c) { FD_CLOEXEC, F_DUPFD, F_DUPFD_CLOEXEC, +#if defined(F_DUP2FD) + F_DUP2FD, + F_DUP2FD_CLOEXEC, +#endif F_GETFD, F_SETFD, F_GETFL, diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl index d4915053..9df92d68 160000 --- a/unicorn_mode/unicornafl +++ b/unicorn_mode/unicornafl @@ -1 +1 @@ -Subproject commit d4915053d477dd827b3fe4b494173d3fbf9f456e +Subproject commit 9df92d6868e8b219886e4b7458e5e134c48ff2c9 -- cgit 1.4.1