[wycheproof] Support wycheproof in bad_build_check.

Related #8040
This commit is contained in:
Jonathan Metzman 2022-07-20 14:45:50 -04:00
parent 427c930c2e
commit 8d5c72d77a
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def find_fuzz_targets(directory):
# trees).
if not is_elf(path) and not is_shell_script(path):
continue
if os.getenv('FUZZING_ENGINE') != 'none':
if os.getenv('FUZZING_ENGINE') not in {'none', 'wycheproof'}:
with open(path, 'rb') as file_handle:
binary_contents = file_handle.read()
if b'LLVMFuzzerTestOneInput' not in binary_contents: