merge bitcoin#18566: Set -use_value_profile=1 when merging fuzz inputs

This commit is contained in:
Kittywhiskers Van Gogh 2020-04-09 00:52:43 +08:00
parent 059e3d0981
commit b567c459e3

View File

@ -133,6 +133,7 @@ def merge_inputs(*, corpus, test_list, build_dir, merge_dir):
args = [ args = [
os.path.join(build_dir, 'src', 'test', 'fuzz', t), os.path.join(build_dir, 'src', 'test', 'fuzz', t),
'-merge=1', '-merge=1',
'-use_value_profile=1', # Also done by oss-fuzz https://github.com/google/oss-fuzz/issues/1406#issuecomment-387790487
os.path.join(corpus, t), os.path.join(corpus, t),
os.path.join(merge_dir, t), os.path.join(merge_dir, t),
] ]