Home
last modified time | relevance | path

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

/third_party/json/test/thirdparty/Fuzzer/
DFuzzerMutate.cpp27 MutationDispatcher::MutationDispatcher(Random &Rand, in MutationDispatcher() function in fuzzer::MutationDispatcher
33 {&MutationDispatcher::Mutate_EraseBytes, "EraseBytes"}, in MutationDispatcher()
34 {&MutationDispatcher::Mutate_InsertByte, "InsertByte"}, in MutationDispatcher()
35 {&MutationDispatcher::Mutate_InsertRepeatedBytes, in MutationDispatcher()
37 {&MutationDispatcher::Mutate_ChangeByte, "ChangeByte"}, in MutationDispatcher()
38 {&MutationDispatcher::Mutate_ChangeBit, "ChangeBit"}, in MutationDispatcher()
39 {&MutationDispatcher::Mutate_ShuffleBytes, "ShuffleBytes"}, in MutationDispatcher()
40 {&MutationDispatcher::Mutate_ChangeASCIIInteger, "ChangeASCIIInt"}, in MutationDispatcher()
41 {&MutationDispatcher::Mutate_ChangeBinaryInteger, "ChangeBinInt"}, in MutationDispatcher()
42 {&MutationDispatcher::Mutate_CopyPart, "CopyPart"}, in MutationDispatcher()
[all …]
DFuzzerMutate.h21 class MutationDispatcher {
23 MutationDispatcher(Random &Rand, const FuzzingOptions &Options);
24 ~MutationDispatcher() {} in ~MutationDispatcher()
97 size_t (MutationDispatcher::*Fn)(uint8_t *Data, size_t Size, size_t Max);
DFuzzerInternal.h55 Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD,
96 MutationDispatcher &GetMD() { return MD; } in GetMD()
160 MutationDispatcher &MD;
DFuzzerCrossOver.cpp20 size_t MutationDispatcher::CrossOver(const uint8_t *Data1, size_t Size1, in CrossOver()
DFuzzerDefs.h62 class MutationDispatcher; variable
DFuzzerTraceState.cpp42 TraceState(MutationDispatcher &MD, const FuzzingOptions &Options, in TraceState()
143 MutationDispatcher &MD;
DFuzzerDriver.cpp451 auto *MD = new MutationDispatcher(Rand, Options); in FuzzerDriver()
DFuzzerLoop.cpp176 Fuzzer::Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD, in Fuzzer()
/third_party/json/test/thirdparty/Fuzzer/test/
DFuzzerUnittest.cpp30 MutationDispatcher MD(Rand, {}); in TEST()
93 typedef size_t (MutationDispatcher::*Mutator)(uint8_t *Data, size_t Size,
118 MutationDispatcher MD(Rand, {}); in TestEraseBytes()
144 TestEraseBytes(&MutationDispatcher::Mutate_EraseBytes, 200); in TEST()
147 TestEraseBytes(&MutationDispatcher::Mutate, 2000); in TEST()
154 MutationDispatcher MD(Rand, {}); in TestInsertByte()
180 TestInsertByte(&MutationDispatcher::Mutate_InsertByte, 1 << 15); in TEST()
183 TestInsertByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
190 MutationDispatcher MD(Rand, {}); in TestInsertRepeatedBytes()
224 TestInsertRepeatedBytes(&MutationDispatcher::Mutate_InsertRepeatedBytes, 10000); in TEST()
[all …]