about summary refs log tree commit diff
path: root/custom_mutators/gramatron/gramfuzz-mutators.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-06-27 08:31:03 +0200
committervanhauser-thc <vh@thc.org>2022-06-27 08:31:03 +0200
commit48c2d516899dcd77f1c167b195eb45b2a71cc303 (patch)
treeb0bcfd4e56120e0d68bf2b41f4d878fb5b7a72b5 /custom_mutators/gramatron/gramfuzz-mutators.c
parenta7f3f87f411c01008b1f5aede918a6bca549d5ff (diff)
downloadafl++-48c2d516899dcd77f1c167b195eb45b2a71cc303.tar.gz
nits
Diffstat (limited to 'custom_mutators/gramatron/gramfuzz-mutators.c')
-rw-r--r--custom_mutators/gramatron/gramfuzz-mutators.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/custom_mutators/gramatron/gramfuzz-mutators.c b/custom_mutators/gramatron/gramfuzz-mutators.c
index 789a36fd..0fc9c307 100644
--- a/custom_mutators/gramatron/gramfuzz-mutators.c
+++ b/custom_mutators/gramatron/gramfuzz-mutators.c
@@ -58,8 +58,7 @@ Array *performSpliceOne(Array *originput, IdxMap_new *statemap_orig,
     int length = utarray_len(stateptr);
     if (length) {
 
-      int *splice_idx =
-          (int *)utarray_eltptr(stateptr, rand_below(global_afl, length));
+      int *splice_idx = (int *)utarray_eltptr(stateptr, rand_below(global_afl, length));
       ip.orig_idx = *splice_idx;
       ip.splice_idx = x;
       utarray_push_back(pairs, &ip);