Home
last modified time | relevance | path

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

/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp49 *result.add_vector_value() = this->RandomGen(var_spec.vector_value(0)); in ArrayRandomGen()
89 return RandomGen(var_instance); in EnumMutate()
96 RandomGen(result.scalar_value(), result.scalar_type()); in ScalarRandomGen()
163 *result.add_struct_value() = this->RandomGen(struct_value); in StructRandomGen()
185 this->RandomGen(blueprint.union_value(idx)); in UnionRandomGen()
204 *result.add_vector_value() = this->RandomGen(var_spec.vector_value(0)); in VectorRandomGen()
217 ScalarData ProtoFuzzerMutator::RandomGen(const ScalarData &scalar_value, in RandomGen() function in android::vts::fuzzer::ProtoFuzzerMutator
222 result.set_bool_t(RandomGen(static_cast<bool>(scalar_value.bool_t()))); in RandomGen()
224 result.set_int8_t(RandomGen(scalar_value.int8_t())); in RandomGen()
226 result.set_uint8_t(RandomGen(scalar_value.uint8_t())); in RandomGen()
[all …]
DProtoFuzzerMutator.cpp110 ExecSpec ProtoFuzzerMutator::RandomGen(const IfaceDescTbl &tbl, in RandomGen() function in android::vts::fuzzer::ProtoFuzzerMutator
124 FuncSpec rand_api = RandomGen(iface_spec.api(rand_api_idx)); in RandomGen()
154 *func_call->mutable_api() = RandomGen(iface_spec.api(blueprint_idx)); in Mutate()
158 FuncSpec ProtoFuzzerMutator::RandomGen(const FuncSpec &func_spec) { in RandomGen() function in android::vts::fuzzer::ProtoFuzzerMutator
164 VarInstance rand_var_spec = RandomGen(var_spec); in RandomGen()
194 VarInstance ProtoFuzzerMutator::RandomGen(const VarSpec &var_spec) { in RandomGen() function in android::vts::fuzzer::ProtoFuzzerMutator
DProtoFuzzerMain.cpp138 mutator->RandomGen(runner->GetOpenedIfaces(), params.exec_size_); in LLVMFuzzerCustomMutator()
160 mutator->RandomGen(runner->GetOpenedIfaces(), params.exec_size_); in LLVMFuzzerCustomCrossOver()
167 mutator->RandomGen(runner->GetOpenedIfaces(), params.exec_size_); in LLVMFuzzerCustomCrossOver()
/test/vts-testcase/fuzz/iface_fuzzer/include/
DProtoFuzzerMutator.h59 ExecSpec RandomGen(const IfaceDescTbl &, size_t);
63 FuncSpec RandomGen(const FuncSpec &);
67 VarInstance RandomGen(const VarSpec &);
92 ScalarData RandomGen(const ScalarData &, const std::string &);
97 T RandomGen(T);
100 bool RandomGen(bool);