curl-fuzzer C++ reference
Loading...
Searching...
No Matches
scenario_runner.h File Reference

Orchestrates a single fuzz iteration from a Scenario proto through to a completed curl transfer. More...

Go to the source code of this file.

Functions

int proto_fuzzer::RunScenario (const curl::fuzzer::proto::Scenario &scenario, ScenarioRunMode mode)
 Execute one scenario under a complete target behaviour.

Detailed Description

Orchestrates a single fuzz iteration from a Scenario proto through to a completed curl transfer.

Definition in file scenario_runner.h.

Function Documentation

◆ RunScenario()

int proto_fuzzer::RunScenario ( const curl::fuzzer::proto::Scenario & scenario,
ScenarioRunMode mode )

Execute one scenario under a complete target behaviour.

An enum makes the supported fast, coverage, and API paths explicit and prevents callers from constructing meaningless combinations of independent switches.

Parameters
scenarioStructured transfer and optional API plan.
modeRuntime coverage and lifecycle policy for this invocation.
Returns
zero after either a bounded run or an ignored invalid scenario.

Definition at line 654 of file scenario_runner.cc.