Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
Functions | Variables
check.cpp File Reference
#include <util/check.h>
#include <bitcoin-build-config.h>
#include <clientversion.h>
#include <tinyformat.h>
#include <cstdio>
#include <cstdlib>
#include <source_location>
#include <string>
#include <string_view>
Include dependency graph for check.cpp:

Go to the source code of this file.

Functions

std::string StrFormatInternalBug (std::string_view msg, const std::source_location &loc)
 
std::string StrFormatFailedCheck (std::string_view assertion)
 
void internal_abort_helper (const std::source_location &loc, std::string_view error_msg)
 Internal helper. The noreturn enables optimizers to discard invalid paths.
 
void internal_non_fatal_helper (const std::source_location &loc, std::string_view error_msg)
 Internal helper. The noreturn enables optimizers to discard invalid paths.
 

Variables

bool g_detail_test_only_CheckFailuresAreExceptionsNotAborts {false}
 
std::atomic< bool > g_enable_dynamic_fuzz_determinism {false}
 

Function Documentation

◆ internal_abort_helper()

void internal_abort_helper ( const std::source_location &  loc,
std::string_view  error_msg 
)

Internal helper. The noreturn enables optimizers to discard invalid paths.

Definition at line 39 of file check.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ internal_non_fatal_helper()

void internal_non_fatal_helper ( const std::source_location &  loc,
std::string_view  error_msg 
)

Internal helper. The noreturn enables optimizers to discard invalid paths.

Definition at line 49 of file check.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StrFormatFailedCheck()

std::string StrFormatFailedCheck ( std::string_view  assertion)

Definition at line 27 of file check.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StrFormatInternalBug()

std::string StrFormatInternalBug ( std::string_view  msg,
const std::source_location &  loc 
)

Definition at line 18 of file check.cpp.

Here is the call graph for this function:

Variable Documentation

◆ g_detail_test_only_CheckFailuresAreExceptionsNotAborts

bool g_detail_test_only_CheckFailuresAreExceptionsNotAborts {false}

Definition at line 37 of file check.cpp.

◆ g_enable_dynamic_fuzz_determinism

std::atomic<bool> g_enable_dynamic_fuzz_determinism {false}

Definition at line 57 of file check.cpp.