Home
last modified time | relevance | path

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

/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp58 *result.mutable_vector_value(idx) = this->Mutate(result.vector_value(idx)); in ArrayMutate()
79 scalar_value = Mutate(scalar_value, scalar_type); in EnumRandomGen()
103 Mutate(result.scalar_value(), result.scalar_type()); in ScalarMutate()
172 *result.mutable_struct_value(idx) = this->Mutate(result.struct_value(idx)); in StructMutate()
194 *result.mutable_union_value(i) = this->Mutate(result.union_value(i)); in UnionMutate()
213 *result.mutable_vector_value(idx) = this->Mutate(result.vector_value(idx)); in VectorMutate()
250 ScalarData ProtoFuzzerMutator::Mutate(const ScalarData &scalar_value, in Mutate() function in android::vts::fuzzer::ProtoFuzzerMutator
255 result.set_bool_t(Mutate(static_cast<bool>(scalar_value.bool_t()))); in Mutate()
257 result.set_int8_t(Mutate(scalar_value.int8_t())); in Mutate()
259 result.set_uint8_t(Mutate(scalar_value.uint8_t())); in Mutate()
[all …]
DProtoFuzzerMutator.cpp131 void ProtoFuzzerMutator::Mutate(const IfaceDescTbl &tbl, ExecSpec *exec_spec) { in Mutate() function in android::vts::fuzzer::ProtoFuzzerMutator
142 *exec_spec->mutable_function_call(idx)->mutable_api() = Mutate(rand_api); in Mutate()
171 FuncSpec ProtoFuzzerMutator::Mutate(const FuncSpec &func_spec) { in Mutate() function in android::vts::fuzzer::ProtoFuzzerMutator
176 VarInstance rand_arg = Mutate(result.arg(rand_arg_idx)); in Mutate()
198 VarInstance ProtoFuzzerMutator::Mutate(const VarInstance &var_instance) { in Mutate() function in android::vts::fuzzer::ProtoFuzzerMutator
DProtoFuzzerMain.cpp140 mutator->Mutate(runner->GetOpenedIfaces(), &exec_spec); in LLVMFuzzerCustomMutator()
/test/vts-testcase/fuzz/iface_fuzzer/include/
DProtoFuzzerMutator.h61 void Mutate(const IfaceDescTbl &, ExecSpec *);
65 FuncSpec Mutate(const FuncSpec &);
69 VarInstance Mutate(const VarInstance &);
93 ScalarData Mutate(const ScalarData &, const string &);
99 T Mutate(T);
101 bool Mutate(bool);
102 float Mutate(float);
103 double Mutate(double);