diff options
author | vanhauser-thc <vh@thc.org> | 2022-06-27 08:31:03 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-06-27 08:31:03 +0200 |
commit | 48c2d516899dcd77f1c167b195eb45b2a71cc303 (patch) | |
tree | b0bcfd4e56120e0d68bf2b41f4d878fb5b7a72b5 /custom_mutators/gramatron/gramfuzz-mutators.c | |
parent | a7f3f87f411c01008b1f5aede918a6bca549d5ff (diff) | |
download | afl++-48c2d516899dcd77f1c167b195eb45b2a71cc303.tar.gz |
nits
Diffstat (limited to 'custom_mutators/gramatron/gramfuzz-mutators.c')
-rw-r--r-- | custom_mutators/gramatron/gramfuzz-mutators.c | 3 |
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); |