curl-fuzzer C++ reference
Loading...
Searching...
No Matches
proto_fuzzer::allocation_fault_injection::ScopedFailureSuppression Class Referencefinal

Exclude a narrow harness-only operation from the allocation-failure plan. More...

#include <allocation_fault_injection.h>

Detailed Description

Exclude a narrow harness-only operation from the allocation-failure plan.

Scopes nest on the calling thread. Positive-size libcurl allocations made inside them bypass injected failures without advancing the active ordinal sequence, so failures remain pending for subsequent injectable allocations. Construct and destroy each guard on the same thread. Reset() invalidates any live guards after a non-local exit and makes their later destruction a no-op.

Definition at line 57 of file allocation_fault_injection.h.


The documentation for this class was generated from the following file: