Home
last modified time | relevance | path

Searched refs:DictionaryEntry (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDictionary.h51 class DictionaryEntry {
53 DictionaryEntry() {} in DictionaryEntry() function
54 DictionaryEntry(Word W) : W(W) {} in DictionaryEntry() function
55 DictionaryEntry(Word W, size_t PositionHint) in DictionaryEntry() function
90 return std::any_of(begin(), end(), [&](const DictionaryEntry &DE) { in ContainsWord()
94 const DictionaryEntry *begin() const { return &DE[0]; } in begin()
95 const DictionaryEntry *end() const { return begin() + Size; } in end()
96 DictionaryEntry & operator[] (size_t Idx) {
100 void push_back(DictionaryEntry DE) { in push_back()
109 DictionaryEntry DE[kMaxDictSize];
H A DFuzzerMutate.h114 DictionaryEntry &DE);
117 DictionaryEntry MakeDictionaryEntryFromCMP(T Arg1, T Arg2,
119 DictionaryEntry MakeDictionaryEntryFromCMP(const Word &Arg1, const Word &Arg2,
121 DictionaryEntry MakeDictionaryEntryFromCMP(const void *Arg1, const void *Arg2,
136 std::vector<DictionaryEntry *> CurrentDictionaryEntrySequence;
139 DictionaryEntry CmpDictionaryEntriesDeque[kCmpDictionaryEntriesDequeSize];
H A DFuzzerMutate.cpp185 DictionaryEntry &DE) { in ApplyDictionaryEntry()
211 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
236 return DictionaryEntry(W, Positions[Rand(NumPositions)]); in MakeDictionaryEntryFromCMP()
238 DictionaryEntry DE(W); in MakeDictionaryEntryFromCMP()
244 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
254 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
263 DictionaryEntry DE; in Mutate_AddWordFromTORC()
282 DE = DictionaryEntry(X); in Mutate_AddWordFromTORC()
290 DictionaryEntry &DERef = in Mutate_AddWordFromTORC()
307 DictionaryEntry &DE = D[Rand(D.size())]; in AddWordFromDictionary()
[all …]
H A DFuzzerDefs.h31 class DictionaryEntry; variable