You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #18300: fuzz: Add option to merge input dir to test runner
fa3fa27 fuzz: Remove option --export_coverage from test_runner (MarcoFalke)
aaaa055 fuzz: Add option to merge input dir to test runner (MarcoFalke)
fa4fa88 doc: Remove --disable-ccache from docs (MarcoFalke)
Pull request description:
This is mainly useful for myself to merge pull requests like bitcoin-core/qa-assets#4
I thought it wouldn't hurt to share the code.
Also remove the `--disable-ccache` from the docs to speed up builds when developing fuzzers.
Top commit has no ACKs.
Tree-SHA512: 818d85a90db86a7f4e8b001cc88342e5b28b02029d2bd4174440b28a8c4cc29b5406bd6348f72ddf909bb3d0f9bf7b1011976f6480e4418c8b7da5ecccae93e8
description='''Run the fuzz targets with all inputs from the seed_dir once.''',
20
+
)
18
21
parser.add_argument(
19
22
"-l",
20
23
"--loglevel",
21
24
dest="loglevel",
22
25
default="INFO",
23
26
help="log events at this level and higher to the console. Can be set to DEBUG, INFO, WARNING, ERROR or CRITICAL. Passing --loglevel DEBUG will output all logs to console.",
24
27
)
25
-
parser.add_argument(
26
-
'--export_coverage',
27
-
action='store_true',
28
-
help='If true, export coverage information to files in the seed corpus',
29
-
)
30
28
parser.add_argument(
31
29
'--valgrind',
32
30
action='store_true',
@@ -46,6 +44,10 @@ def main():
46
44
nargs='*',
47
45
help='The target(s) to run. Default is to run all targets.',
48
46
)
47
+
parser.add_argument(
48
+
'--m_dir',
49
+
help='Merge inputs from this directory into the seed_dir. Needs /target subdirectory.',
50
+
)
49
51
50
52
args=parser.parse_args()
51
53
@@ -122,16 +124,39 @@ def main():
122
124
logging.error("subprocess timed out: Currently only libFuzzer is supported")
0 commit comments