Home
last modified time | relevance | path

Searched refs:MutationDispatcher (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp21 MutationDispatcher::MutationDispatcher(Random &Rand, in MutationDispatcher() function in fuzzer::MutationDispatcher
27 {&MutationDispatcher::Mutate_EraseByte, "EraseByte"}, in MutationDispatcher()
28 {&MutationDispatcher::Mutate_InsertByte, "InsertByte"}, in MutationDispatcher()
29 {&MutationDispatcher::Mutate_ChangeByte, "ChangeByte"}, in MutationDispatcher()
30 {&MutationDispatcher::Mutate_ChangeBit, "ChangeBit"}, in MutationDispatcher()
31 {&MutationDispatcher::Mutate_ShuffleBytes, "ShuffleBytes"}, in MutationDispatcher()
32 {&MutationDispatcher::Mutate_ChangeASCIIInteger, "ChangeASCIIInt"}, in MutationDispatcher()
33 {&MutationDispatcher::Mutate_CrossOver, "CrossOver"}, in MutationDispatcher()
34 {&MutationDispatcher::Mutate_AddWordFromManualDictionary, in MutationDispatcher()
36 {&MutationDispatcher::Mutate_AddWordFromTemporaryAutoDictionary, in MutationDispatcher()
[all …]
DFuzzerInternal.h240 class MutationDispatcher {
242 MutationDispatcher(Random &Rand, const FuzzingOptions &Options);
243 ~MutationDispatcher() {} in ~MutationDispatcher()
307 size_t (MutationDispatcher::*Fn)(uint8_t *Data, size_t Size, size_t Max);
367 Fuzzer(UserCallback CB, MutationDispatcher &MD, FuzzingOptions Options);
412 MutationDispatcher &GetMD() { return MD; } in GetMD()
474 MutationDispatcher &MD;
DFuzzerCrossOver.cpp19 size_t MutationDispatcher::CrossOver(const uint8_t *Data1, size_t Size1, in CrossOver()
DFuzzerTraceState.cpp177 TraceState(MutationDispatcher &MD, const FuzzingOptions &Options, in TraceState()
290 MutationDispatcher &MD;
DFuzzerDriver.cpp350 MutationDispatcher MD(Rand, Options); in FuzzerDriver()
DFuzzerLoop.cpp146 Fuzzer::Fuzzer(UserCallback CB, MutationDispatcher &MD, FuzzingOptions Options) in Fuzzer()
/external/llvm/lib/Fuzzer/test/
DFuzzerUnittest.cpp25 MutationDispatcher MD(Rand, {}); in TEST()
88 typedef size_t (MutationDispatcher::*Mutator)(uint8_t *Data, size_t Size,
103 MutationDispatcher MD(Rand, {}); in TestEraseByte()
121 TestEraseByte(&MutationDispatcher::Mutate_EraseByte, 100); in TEST()
124 TestEraseByte(&MutationDispatcher::Mutate, 1000); in TEST()
131 MutationDispatcher MD(Rand, {}); in TestInsertByte()
157 TestInsertByte(&MutationDispatcher::Mutate_InsertByte, 1 << 15); in TEST()
160 TestInsertByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
167 MutationDispatcher MD(Rand, {}); in TestChangeByte()
193 TestChangeByte(&MutationDispatcher::Mutate_ChangeByte, 1 << 15); in TEST()
[all …]