Skip to content

Commit

Permalink
[cifuzz] Don't use jobs with MSAN. (#11922)
Browse files Browse the repository at this point in the history
It causes false positives.

Related: #11915
  • Loading branch information
jonathanmetzman committed May 8, 2024
1 parent 9dce1da commit 0091ba3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion infra/cifuzz/fuzz_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,12 @@ def fuzz(self, batch=False) -> Optional[FuzzResult]:
options.arguments.extend(LIBFUZZER_OPTIONS_NO_REPORT_OOM)

if self.config.parallel_fuzzing:
options.arguments.extend(get_libfuzzer_parallel_options())
if self.config.sanitizer == 'memory':
# TODO(https://github.com/google/oss-fuzz/issues/11915): Don't gate
# this after jobs is fixed for MSAN.
logging.info('Not using jobs because it breaks MSAN.')
else:
options.arguments.extend(get_libfuzzer_parallel_options())

result = engine_impl.fuzz(self.target_path, options, artifacts_dir,
self.duration)
Expand Down

0 comments on commit 0091ba3

Please sign in to comment.