-
Notifications
You must be signed in to change notification settings - Fork 0
/
patch_disable_perseed.patch
28 lines (28 loc) · 1.17 KB
/
patch_disable_perseed.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/fuzzers/darwin/fuzzer.py b/fuzzers/darwin/fuzzer.py
index 160ee4a..19641c7 100755
--- a/fuzzers/darwin/fuzzer.py
+++ b/fuzzers/darwin/fuzzer.py
@@ -121,7 +121,8 @@ def run_afl_fuzz(input_corpus,
command.extend(additional_flags)
# splicing mutations are disabled because this appears to be not supported
# command.append('-s')
- command.append('-p')
+ # per seed mutations disabled upon advice offered by authors
+ # command.append('-p')
command.append('-L0')
dictionary_path = utils.get_dictionary_path(target_binary)
if dictionary_path:
diff --git a/fuzzers/darwin_rand/fuzzer.py b/fuzzers/darwin_rand/fuzzer.py
index 160ee4a..7a68d27 100755
--- a/fuzzers/darwin_rand/fuzzer.py
+++ b/fuzzers/darwin_rand/fuzzer.py
@@ -121,7 +121,8 @@ def run_afl_fuzz(input_corpus,
command.extend(additional_flags)
# splicing mutations are disabled because this appears to be not supported
# command.append('-s')
- command.append('-p')
+ # per-seed mutation disabled upon author recommendation
+ # command.append('-p')
command.append('-L0')
dictionary_path = utils.get_dictionary_path(target_binary)
if dictionary_path: