[PATCH] D48891: [libFuzzer] Make -fsanitize=memory,fuzzer work.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 13:23:06 PDT 2018


kcc 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();
----------------
why do you need this here? 


================
Comment at: compiler-rt/test/fuzzer/msan.test:17
+
+RUN: %msan_compiler %S/BufferOverflowOnInput.cpp -o %t
+RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=REPORT
----------------
it would be nice to have a separate msan-ish test with a real msan-ish bug (not a buffer overflow)


https://reviews.llvm.org/D48891





More information about the llvm-commits mailing list