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:
73e8102
)
[libFuzzer] do the merge faster and a bit less precise
author
Kostya Serebryany
<kcc@google.com>
Fri, 13 May 2016 22:11:23 +0000
(22:11 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Fri, 13 May 2016 22:11:23 +0000
(22:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269497
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
f2633ce
..
6b19a15
100644
(file)
--- a/
lib/Fuzzer/FuzzerLoop.cpp
+++ b/
lib/Fuzzer/FuzzerLoop.cpp
@@
-549,9
+549,10
@@
UnitVector Fuzzer::FindExtraUnits(const UnitVector &Initial,
PrintStats(Stat);
size_t NewSize = Corpus.size();
+ assert(NewSize <= OldSize);
Res.swap(Corpus);
- if (NewSize
=
= OldSize)
+ if (NewSize
+ 5 >
= OldSize)
break;
OldSize = NewSize;
}