OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Mutate
(Results
1 - 3
of
3
) sorted by null
/test/vts-testcase/fuzz/iface_fuzzer/
ProtoFuzzerMutator.cpp
127
void ProtoFuzzerMutator::
Mutate
(const IfaceDescTbl &tbl, ExecSpec *exec_spec) {
128
//
Mutate
a randomly chosen function call with probability
135
//
Mutate
a random function in execution.
138
*exec_spec->mutable_function_call(idx)->mutable_api() =
Mutate
(rand_api);
167
FuncSpec ProtoFuzzerMutator::
Mutate
(const FuncSpec &func_spec) {
172
VarInstance rand_arg =
Mutate
(result.arg(rand_arg_idx));
194
VarInstance ProtoFuzzerMutator::
Mutate
(const VarInstance &var_instance) {
ProtoFuzzerMutateFns.cpp
58
*result.mutable_vector_value(idx) = this->
Mutate
(result.vector_value(idx));
73
//
Mutate
this enum like a scalar with probability
79
scalar_value =
Mutate
(scalar_value, scalar_type);
103
Mutate
(result.scalar_value(), result.scalar_type());
172
*result.mutable_struct_value(idx) = this->
Mutate
(result.struct_value(idx));
194
*result.mutable_union_value(i) = this->
Mutate
(result.union_value(i));
213
*result.mutable_vector_value(idx) = this->
Mutate
(result.vector_value(idx));
250
ScalarData ProtoFuzzerMutator::
Mutate
(const ScalarData &scalar_value,
255
result.set_bool_t(
Mutate
(static_cast<bool>(scalar_value.bool_t())));
257
result.set_int8_t(
Mutate
(scalar_value.int8_t()))
[
all
...]
/external/flatbuffers/include/flatbuffers/
flexbuffers.h
527
// To avoid this, you can construct the values you intend to
mutate
using
531
return
Mutate
(data_, i, parent_width_, WidthI(i));
533
return
Mutate
(Indirect(), i, byte_width_, WidthI(i));
536
return
Mutate
(data_, u, parent_width_, WidthU(u));
539
return
Mutate
(Indirect(), u, byte_width_, WidthU(u));
547
return
Mutate
(data_, u, parent_width_, WidthU(u));
549
return
Mutate
(Indirect(), u, byte_width_, WidthU(u));
552
return
Mutate
(data_, i, parent_width_, WidthI(i));
555
return
Mutate
(Indirect(), i, byte_width_, WidthI(i));
602
template<typename T> bool
Mutate
(const uint8_t *dest, T t, size_t byte_width
[
all
...]
Completed in 223 milliseconds