OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Corpus
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Fuzzer/
FuzzerMutate.cpp
29
const std::vector<Unit> *
Corpus
= nullptr;
47
void SetCorpus(const std::vector<Unit> *
Corpus
) { this->
Corpus
=
Corpus
; }
162
auto
Corpus
= MDImpl->
Corpus
;
163
if (!
Corpus
||
Corpus
->size() < 2 || Size == 0) return 0;
164
size_t Idx = Rand(
Corpus
->size());
165
const Unit &Other = (*
Corpus
)[Idx]
[
all
...]
FuzzerInternal.h
102
void AddToCorpus(const Unit &U) {
Corpus
.push_back(U); }
104
const Unit &ChooseUnitToMutate() { return
Corpus
[ChooseUnitIdxToMutate()]; };
109
size_t CorpusSize() const { return
Corpus
.size(); }
111
Printf("Loading
corpus
: %s\n", Path.c_str());
112
ReadDirToVectorOfUnits(Path.c_str(), &
Corpus
, Epoch);
115
// Save the current
corpus
to OutputCorpus.
171
std::vector<Unit>
Corpus
;
Completed in 57 milliseconds