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

Process-once curl API probes for the structured API target. More...

Go to the source code of this file.

Functions

void proto_fuzzer::RunApiCoverageProbesOnce ()
 Run bounded curl API probes once without tearing down global state.

Detailed Description

Process-once curl API probes for the structured API target.

Definition in file api_coverage_probes.h.

Function Documentation

◆ RunApiCoverageProbesOnce()

void proto_fuzzer::RunApiCoverageProbesOnce ( )

Run bounded curl API probes once without tearing down global state.

The caller normally owns an initialized curl runtime. This function retains one public global reference until process exit, so repeated calls are safe and perform no additional work. Both LLVMFuzzerInitialize and the first input callback can therefore provide reachability without per-input cost.

Definition at line 53 of file api_coverage_probes.cc.