Home
last modified time | relevance | path

Searched refs:Mutator (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/
DStrategiesTest.cpp67 void IterateOnSource(StringRef Source, IRMutator &Mutator) { in IterateOnSource() argument
74 Mutator.mutateModule(*M, Seed, Source.size(), Source.size() + 100); in IterateOnSource()
86 auto Mutator = createInjectorMutator(); in TEST() local
87 ASSERT_TRUE(Mutator); in TEST()
89 Mutator->mutateModule(*M, Seed, 1, 1); in TEST()
107 auto Mutator = createDeleterMutator(); in TEST() local
108 ASSERT_TRUE(Mutator); in TEST()
110 IterateOnSource(Source, *Mutator); in TEST()
133 auto Mutator = createDeleterMutator(); in TEST() local
134 ASSERT_TRUE(Mutator); in TEST()
[all …]
/external/libprotobuf-mutator/src/
Dmutator.cc340 bool enforce_utf8_strings, Mutator* mutator) in FieldMutator()
347 RepeatMutate(value, std::bind(&Mutator::MutateInt32, mutator_, _1)); in Mutate()
351 RepeatMutate(value, std::bind(&Mutator::MutateInt64, mutator_, _1)); in Mutate()
355 RepeatMutate(value, std::bind(&Mutator::MutateUInt32, mutator_, _1)); in Mutate()
359 RepeatMutate(value, std::bind(&Mutator::MutateUInt64, mutator_, _1)); in Mutate()
363 RepeatMutate(value, std::bind(&Mutator::MutateFloat, mutator_, _1)); in Mutate()
367 RepeatMutate(value, std::bind(&Mutator::MutateDouble, mutator_, _1)); in Mutate()
371 RepeatMutate(value, std::bind(&Mutator::MutateBool, mutator_, _1), 2); in Mutate()
376 std::bind(&Mutator::MutateEnum, mutator_, _1, value->count), in Mutate()
383 RepeatMutate(value, std::bind(&Mutator::MutateUtf8String, mutator_, _1, in Mutate()
[all …]
Dmutator.h42 class Mutator {
45 explicit Mutator(RandomEngine* random);
46 virtual ~Mutator() = default;
Dmutator_test.cc217 class TestMutator : public Mutator {
219 explicit TestMutator(bool keep_initialized) : Mutator(&random_), random_(17) { in TestMutator()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_mutator.cc43 int32_t Mutator::MutateInt32(int32_t value) { return MutateValue(value); } in MutateInt32()
45 int64_t Mutator::MutateInt64(int64_t value) { return MutateValue(value); } in MutateInt64()
47 uint32_t Mutator::MutateUInt32(uint32_t value) { return MutateValue(value); } in MutateUInt32()
49 uint64_t Mutator::MutateUInt64(uint64_t value) { return MutateValue(value); } in MutateUInt64()
51 float Mutator::MutateFloat(float value) { return MutateValue(value); } in MutateFloat()
53 double Mutator::MutateDouble(double value) { return MutateValue(value); } in MutateDouble()
55 std::string Mutator::MutateString(const std::string& value, in MutateString()
Dlibfuzzer_mutator.h28 class Mutator : public protobuf_mutator::Mutator {
30 using protobuf_mutator::Mutator::Mutator;
Dlibfuzzer_macro.cc95 Mutator mutator(&random); in MutateMessage()
112 Mutator mutator(&random); in CrossOverMessages()
/external/llvm/lib/Fuzzer/test/
DFuzzerUnittest.cpp88 typedef size_t (MutationDispatcher::*Mutator)(uint8_t *Data, size_t Size, typedef
91 void TestEraseByte(Mutator M, int NumIter) { in TestEraseByte()
127 void TestInsertByte(Mutator M, int NumIter) { in TestInsertByte()
163 void TestChangeByte(Mutator M, int NumIter) { in TestChangeByte()
199 void TestChangeBit(Mutator M, int NumIter) { in TestChangeBit()
235 void TestShuffleBytes(Mutator M, int NumIter) { in TestShuffleBytes()
265 void TestAddWordFromDictionary(Mutator M, int NumIter) { in TestAddWordFromDictionary()
307 void TestAddWordFromDictionaryWithHint(Mutator M, int NumIter) { in TestAddWordFromDictionaryWithHint()
336 void TestChangeASCIIInteger(Mutator M, int NumIter) { in TestChangeASCIIInteger()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp35 static std::unique_ptr<IRMutator> Mutator; variable
56 assert(Mutator && in LLVMFuzzerCustomMutator()
66 Mutator->mutateModule(*M, Seed, Size, MaxSize); in LLVMFuzzerCustomMutator()
246 Mutator = createOptMutator(); in LLVMFuzzerInitialize()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-isel-fuzzer/
Dllvm-isel-fuzzer.cpp51 static std::unique_ptr<IRMutator> Mutator; variable
76 Mutator->mutateModule(*M, Seed, Size, MaxSize); in LLVMFuzzerCustomMutator()
168 Mutator = createISelMutator(); in LLVMFuzzerInitialize()
/external/llvm/lib/Fuzzer/
DFuzzerInternal.h306 struct Mutator { struct
314 const std::vector<Mutator> &Mutators); argument
327 std::vector<Mutator> CurrentMutatorSequence;
332 std::vector<Mutator> Mutators;
333 std::vector<Mutator> DefaultMutators;
DFuzzerMutate.cpp284 const std::vector<Mutator> &Mutators) { in MutateImpl()
/external/libprotobuf-mutator/
DREADME.md50 class MyProtobufMutator : public protobuf_mutator::Mutator {
52 MyProtobufMutator(uint32_t seed) : protobuf_mutator::Mutator(seed) {}
/external/googletest/googlemock/docs/
DCookBook.md1617 class MockMutator : public Mutator {
1646 class MockMutator : public Mutator {
/external/fonttools/Lib/fonttools.egg-info/
DSOURCES.txt1756 Tests/varLib/data/test_results/Mutator.ttx
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...