[PATCH] D48891: [libFuzzer] Make -fsanitize=memory,fuzzer work.
Matt Morehouse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 3 14:43:30 PDT 2018
morehouse added inline comments.
================
Comment at: compiler-rt/lib/fuzzer/FuzzerLoop.cpp:182
return; // Happens when running individual inputs.
+ if (EF->__msan_disable_interceptor_checks)
+ EF->__msan_disable_interceptor_checks();
----------------
kcc wrote:
> why do you need this here?
`DumpCurrentUnit` is called from most error callbacks. When that happens, interceptor checks are still active.
Since we eventually call `fopen` to write out the current unit, we need to disable interceptor checks again here.
https://reviews.llvm.org/D48891
More information about the llvm-commits
mailing list