[PATCH] D20402: Work around crashes in `__sanitizer_malloc_hook()` under Mac OSX.
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 13:24:38 PDT 2016
aizatsky added inline comments.
================
Comment at: lib/Fuzzer/FuzzerLoop.cpp:446
@@ +445,3 @@
+void __sanitizer_malloc_hook(void *ptr, size_t size) {
+ if (LIBFUZZER_LINUX) {
+ AllocTracer.Mallocs++;
----------------
Maybe if (!LIBFUZZER_APPLY) would be a better condition?
http://reviews.llvm.org/D20402
More information about the llvm-commits
mailing list