Home
last modified time | relevance | path

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

/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp21 size_t (MutationDispatcher::*Fn)(uint8_t *Data, size_t Size, size_t Max);
25 struct MutationDispatcher::Impl {
33 Add({&MutationDispatcher::Mutate_EraseByte, "EraseByte"}); in Impl()
34 Add({&MutationDispatcher::Mutate_InsertByte, "InsertByte"}); in Impl()
35 Add({&MutationDispatcher::Mutate_ChangeByte, "ChangeByte"}); in Impl()
36 Add({&MutationDispatcher::Mutate_ChangeBit, "ChangeBit"}); in Impl()
37 Add({&MutationDispatcher::Mutate_ShuffleBytes, "ShuffleBytes"}); in Impl()
38 Add({&MutationDispatcher::Mutate_ChangeASCIIInteger, "ChangeASCIIInt"}); in Impl()
39 Add({&MutationDispatcher::Mutate_CrossOver, "CrossOver"}); in Impl()
43 Add({&MutationDispatcher::Mutate_AddWordFromDictionary, "AddFromDict"}); in AddWordToDictionary()
[all …]
DFuzzerInterface.h70 class MutationDispatcher {
72 MutationDispatcher(FuzzerRandomBase &Rand);
73 ~MutationDispatcher();
119 MutationDispatcher MD(Rand); in Mutate()
172 MutationDispatcher &GetMD() { return MD; } in GetMD()
177 MutationDispatcher MD;
DFuzzerCrossOver.cpp19 size_t MutationDispatcher::CrossOver(const uint8_t *Data1, size_t Size1, in CrossOver()
/external/llvm/lib/Fuzzer/test/
DFuzzerUnittest.cpp15 MutationDispatcher MD(Rand); in TEST()
78 typedef size_t (MutationDispatcher::*Mutator)(uint8_t *Data, size_t Size,
91 MutationDispatcher MD(Rand); in TestEraseByte()
109 TestEraseByte(&MutationDispatcher::Mutate_EraseByte, 100); in TEST()
112 TestEraseByte(&MutationDispatcher::Mutate, 1000); in TEST()
117 MutationDispatcher MD(Rand); in TestInsertByte()
143 TestInsertByte(&MutationDispatcher::Mutate_InsertByte, 1 << 15); in TEST()
146 TestInsertByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
151 MutationDispatcher MD(Rand); in TestChangeByte()
177 TestChangeByte(&MutationDispatcher::Mutate_ChangeByte, 1 << 15); in TEST()
[all …]