Home
last modified time | relevance | path

Searched refs:Mutate (Results 1 – 25 of 25) sorted by relevance

/external/libprotobuf-mutator/src/
Dmutator_test.cc311 bool Mutate(const protobuf::Message& from, const protobuf::Message& to) { in Mutate() function
317 mutator.Mutate(message.get(), 1000); in Mutate()
393 EXPECT_TRUE(Mutate(*m1_, *m2_)); in TEST_P()
399 EXPECT_TRUE(Mutate(*m1_, *m2_)); in TEST_P()
420 mutator.Mutate(m1_.get(), 1000); in TEST_P()
427 EXPECT_TRUE(Mutate(*m1_, *m2_)); in TEST_P()
428 EXPECT_TRUE(Mutate(*m2_, *m1_)); in TEST_P()
443 EXPECT_TRUE(Mutate(from, to)); in TestCopyField()
448 EXPECT_TRUE(Mutate(from, to)); in TestCopyField()
563 mutator.Mutate(&m, 1000); in TYPED_TEST()
[all …]
Dmutator.cc46 Mutate, // Mutates field contents. enumerator
195 {{message, current_field}, Mutation::Mutate}); in Sample()
215 {{message, field, random_index}, Mutation::Mutate}); in Sample()
227 {{message, field}, Mutation::Mutate}); in Sample()
346 void Mutate(int32_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
350 void Mutate(int64_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
354 void Mutate(uint32_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
358 void Mutate(uint64_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
362 void Mutate(float* value) const { in Mutate() function in protobuf_mutator::FieldMutator
366 void Mutate(double* value) const { in Mutate() function in protobuf_mutator::FieldMutator
[all …]
Dmutator.h54 void Mutate(protobuf::Message* message, size_t size_increase_hint);
/external/libprotobuf-mutator/
DREADME.md43 for better results you should override the `ProtobufMutator::Mutate*`
53 // Optionally redefine the Mutate* methods to perform more sophisticated mutations.
55 void Mutate(MyMessage* message) {
57 mutator.Mutate(message, 200);
/external/syzkaller/prog/
Dmutation_test.go37 p1.Mutate(rs, 10, nil, nil)
66 p1.Mutate(rs, 10, nil, corpus)
178 p1.Mutate(rs, len(goal.Calls), ct, nil)
205 p.Clone().Mutate(rs, progLen, ct, nil)
Dchecksum_test.go21 p.Mutate(rs, 10, nil, nil)
Dsize_test.go23 p.Mutate(rs, 10, nil, nil)
Dprog_test.go163 p.Mutate(rs, 20, nil, nil)
Dmutation.go14 func (p *Prog) Mutate(rs rand.Source, ncalls int, ct *ChoiceTable, corpus []*Prog) { func
Drand.go348 return ifuzz.Mutate(cfg, r.Rand, text)
/external/llvm/lib/Fuzzer/test/
DFuzzerUnittest.cpp124 TestEraseByte(&MutationDispatcher::Mutate, 1000); in TEST()
160 TestInsertByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
196 TestChangeByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
232 TestChangeBit(&MutationDispatcher::Mutate, 1 << 18); in TEST()
262 TestShuffleBytes(&MutationDispatcher::Mutate, 1 << 20); in TEST()
304 TestAddWordFromDictionary(&MutationDispatcher::Mutate, 1 << 15); in TEST()
333 TestAddWordFromDictionaryWithHint(&MutationDispatcher::Mutate, 1 << 10); in TEST()
365 TestChangeASCIIInteger(&MutationDispatcher::Mutate, 1 << 15); in TEST()
/external/syzkaller/tools/syz-stress/
Dstress.go89 p.Mutate(rs, programLength, ct, corpus)
93 p.Mutate(rs, programLength, ct, corpus)
95 p.Mutate(rs, programLength, ct, corpus)
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h615 return Mutate(data_, i, parent_width_, WidthI(i)); in MutateInt()
617 return Mutate(Indirect(), i, byte_width_, WidthI(i)); in MutateInt()
620 return Mutate(data_, u, parent_width_, WidthU(u)); in MutateInt()
623 return Mutate(Indirect(), u, byte_width_, WidthU(u)); in MutateInt()
630 return type_ == FBT_BOOL && Mutate(data_, b, parent_width_, BIT_WIDTH_8); in MutateBool()
635 return Mutate(data_, u, parent_width_, WidthU(u)); in MutateUInt()
637 return Mutate(Indirect(), u, byte_width_, WidthU(u)); in MutateUInt()
640 return Mutate(data_, i, parent_width_, WidthI(i)); in MutateUInt()
643 return Mutate(Indirect(), i, byte_width_, WidthI(i)); in MutateUInt()
689 bool Mutate(const uint8_t *dest, T t, size_t byte_width, in Mutate() function
[all …]
Dflatbuffers.h288 void Mutate(uoffset_t i, const T &val) {
/external/syzkaller/tools/syz-mutate/
Dmutate.go75 p.Mutate(rs, *flagLen, ct, nil)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCodeGenPrepare.cpp78 void Mutate(Type *OrigTy,
282 void IRPromoter::Mutate(Type *OrigTy, in Mutate() function in IRPromoter
677 Promoter->Mutate(OrigTy, CurrentVisited, Leaves, Roots); in TryToPromote()
/external/syzkaller/syz-fuzzer/
Dproc.go99 p.Mutate(proc.rnd, programLength, ct, corpus)
196 p.Mutate(proc.rnd, programLength, proc.fuzzer.choiceTable, corpus)
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_macro.cc97 mutator.Mutate(message, output->size() > input.size() in MutateMessage()
/external/syzkaller/pkg/ifuzz/
Difuzz.go135 func Mutate(cfg *Config, r *rand.Rand, text []byte) []byte { func
/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp272 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate() function in fuzzer::MutationDispatcher
DFuzzerInternal.h285 size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
DFuzzerLoop.cpp653 NewSize = MD.Mutate(CurrentUnitData, Size, Options.MaxLen); in MutateAndTestOne()
/external/flatbuffers/tests/
Dtest.cpp428 inventory->Mutate(9, 100); in MutateFlatBuffersTest()
430 inventory->Mutate(9, 9); in MutateFlatBuffersTest()
/external/googletest/googlemock/docs/
DCookBook.md1619 MOCK_METHOD2(Mutate, void(bool mutate, int* value));
1625 EXPECT_CALL(mutator, Mutate(true, _))
1629 In this example, when `mutator.Mutate()` is called, we will assign 5
1670 MOCK_METHOD2(Mutate, void(int* values, int num_values));
1677 EXPECT_CALL(mutator, Mutate(NotNull(), 5))
/external/flatbuffers/docs/source/
DTutorial.md2804 monster->mutable_inventory()->Mutate(0, 1); // Set vector element.