| 25 | namespace fuzz { |
| 26 | |
| 27 | AddedFunctionReducer::AddedFunctionReducer( |
| 28 | spv_target_env target_env, MessageConsumer consumer, |
| 29 | const std::vector<uint32_t>& binary_in, |
| 30 | const protobufs::FactSequence& initial_facts, |
| 31 | const protobufs::TransformationSequence& transformation_sequence_in, |
| 32 | uint32_t index_of_add_function_transformation, |
| 33 | const Shrinker::InterestingnessFunction& shrinker_interestingness_function, |
| 34 | bool validate_during_replay, spv_validator_options validator_options, |
| 35 | uint32_t shrinker_step_limit, uint32_t num_existing_shrink_attempts) |
| 36 | : target_env_(target_env), |
| 37 | consumer_(std::move(consumer)), |
| 38 | binary_in_(binary_in), |
| 39 | initial_facts_(initial_facts), |
| 40 | transformation_sequence_in_(transformation_sequence_in), |
| 41 | index_of_add_function_transformation_( |
| 42 | index_of_add_function_transformation), |
| 43 | shrinker_interestingness_function_(shrinker_interestingness_function), |
| 44 | validate_during_replay_(validate_during_replay), |
| 45 | validator_options_(validator_options), |
| 46 | shrinker_step_limit_(shrinker_step_limit), |
| 47 | num_existing_shrink_attempts_(num_existing_shrink_attempts), |
| 48 | num_reducer_interestingness_function_invocations_(0) {} |
| 49 | |
| 50 | AddedFunctionReducer::~AddedFunctionReducer() = default; |
| 51 |
nothing calls this directly
no outgoing calls
no test coverage detected