Lines Matching refs:fuzz
24 #include "source/fuzz/force_render_red.h"
25 #include "source/fuzz/fuzzer.h"
26 #include "source/fuzz/fuzzer_util.h"
27 #include "source/fuzz/protobufs/spirvfuzz_protobufs.h"
28 #include "source/fuzz/pseudo_random_generator.h"
29 #include "source/fuzz/replayer.h"
30 #include "source/fuzz/shrinker.h"
109 By default, spirv-fuzz follows the philosophy of "swarm testing"
113 running spirv-fuzz many times this is likely to produce *less*
126 Useful for debugging spirv-fuzz.
160 spirv-fuzz.
209 spvtools::fuzz::RepeatedPassStrategy* repeated_pass_strategy,
217 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations;
256 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations;
259 spvtools::fuzz::RepeatedPassStrategy::kRandomWithRecommendations;
262 spvtools::fuzz::RepeatedPassStrategy::kSimple;
433 // The tool is being invoked in fuzz mode.
444 spvtools::fuzz::protobufs::TransformationSequence* transformations) {
465 const spvtools::fuzz::protobufs::FactSequence& initial_facts,
468 spvtools::fuzz::protobufs::TransformationSequence*
470 spvtools::fuzz::protobufs::TransformationSequence transformation_sequence;
494 spvtools::fuzz::Replayer(
502 spvtools::fuzz::Replayer::ReplayerResultStatus::kComplete;
509 const spvtools::fuzz::protobufs::FactSequence& initial_facts,
514 spvtools::fuzz::protobufs::TransformationSequence*
516 spvtools::fuzz::protobufs::TransformationSequence transformation_sequence;
531 spvtools::fuzz::Shrinker::InterestingnessFunction interestingness_function =
547 spvtools::fuzz::Shrinker(
556 return spvtools::fuzz::Shrinker::ShrinkerResultStatus::kComplete ==
558 spvtools::fuzz::Shrinker::ShrinkerResultStatus::kStepLimitReached ==
566 const spvtools::fuzz::protobufs::FactSequence& initial_facts,
568 spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy,
570 spvtools::fuzz::protobufs::TransformationSequence*
574 std::vector<spvtools::fuzz::fuzzerutil::ModuleSupplier> donor_suppliers;
598 if (!spvtools::fuzz::fuzzerutil::BuildIRContext(target_env, message_consumer,
608 auto fuzzer_context = spvtools::MakeUnique<spvtools::fuzz::FuzzerContext>(
609 spvtools::MakeUnique<spvtools::fuzz::PseudoRandomGenerator>(
613 spvtools::fuzz::FuzzerContext::GetMinFreshId(ir_context.get()),
617 spvtools::MakeUnique<spvtools::fuzz::TransformationContext>(
618 spvtools::MakeUnique<spvtools::fuzz::FactManager>(ir_context.get()),
623 spvtools::fuzz::Fuzzer fuzzer(
630 spvtools::fuzz::Fuzzer::Status::kFuzzerPassLedToInvalidModule) {
662 const spvtools::fuzz::protobufs::TransformationSequence& transformations,
673 const spvtools::fuzz::protobufs::TransformationSequence& transformations,
697 spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy;
719 spvtools::fuzz::protobufs::FactSequence initial_facts;
740 spvtools::fuzz::protobufs::TransformationSequence transformations_applied;
746 if (!spvtools::fuzz::ForceRenderRed(