Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ReachabilityGoal Struct Reference

A reachability condition explicitly registered by a fuzz target. More...

#include <reachability.h>

Public Member Functions

constexpr ReachabilityGoal (std::string_view message, std::source_location location=std::source_location::current())
 

Public Attributes

std::string_view message
 
std::source_location location
 

Detailed Description

A reachability condition explicitly registered by a fuzz target.

Goals are identified by their declaration location and aggregated across the lifetime of the fuzz process. Set FUZZ_ENFORCE_REACHABILITY=1 to fail at shutdown if a registered goal was never satisfied.

Definition at line 16 of file reachability.h.

Constructor & Destructor Documentation

◆ ReachabilityGoal()

constexpr ReachabilityGoal::ReachabilityGoal ( std::string_view  message,
std::source_location  location = std::source_location::current() 
)
inlineexplicitconstexpr

Definition at line 20 of file reachability.h.

Member Data Documentation

◆ location

std::source_location ReachabilityGoal::location

Definition at line 18 of file reachability.h.

◆ message

std::string_view ReachabilityGoal::message

Definition at line 17 of file reachability.h.


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