mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-25 15:05:55 +01:00
Introduce g_fuzzing global for fuzzing checks
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
bool g_fuzzing = false;
|
||||
|
||||
std::string StrFormatInternalBug(std::string_view msg, std::string_view file, int line, std::string_view func)
|
||||
{
|
||||
return strprintf("Internal bug detected: %s\n%s:%d (%s)\n"
|
||||
|
||||
Reference in New Issue
Block a user