OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26d793
)
[libFuzzer] when re-running for lsan, don't look at the coverage
author
Kostya Serebryany
<kcc@google.com>
Wed, 5 Oct 2016 23:31:01 +0000
(23:31 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Wed, 5 Oct 2016 23:31:01 +0000
(23:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283411
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Fuzzer/FuzzerLoop.cpp
patch
|
blob
|
history
diff --git
a/lib/Fuzzer/FuzzerLoop.cpp
b/lib/Fuzzer/FuzzerLoop.cpp
index
6c1f376
..
a177241
100644
(file)
--- a/
lib/Fuzzer/FuzzerLoop.cpp
+++ b/
lib/Fuzzer/FuzzerLoop.cpp
@@
-631,7
+631,7
@@
void Fuzzer::TryDetectingAMemoryLeak(const uint8_t *Data, size_t Size,
// Run the target once again, but with lsan disabled so that if there is
// a real leak we do not report it twice.
EF->__lsan_disable();
-
RunOne
(Data, Size);
+
ExecuteCallback
(Data, Size);
EF->__lsan_enable();
if (!HasMoreMallocsThanFrees) return; // a leak is unlikely.
if (NumberOfLeakDetectionAttempts++ > 1000) {