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

Implementation of RunScenario. 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

Implementation of RunScenario.

Definition in file scenario_runner.cc.

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.