File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1265,7 +1265,7 @@ if test "x$enable_fuzz" = "xyes"; then
1265
1265
[ [ -fsanitize=$use_sanitizers] ] ,
1266
1266
[ AC_MSG_RESULT ( [ no] ) ] ,
1267
1267
[ AC_MSG_RESULT ( [ yes] )
1268
- CPPFLAGS="$CPPFLAGS -DPROVIDE_MAIN_FUNCTION "] ,
1268
+ CPPFLAGS="$CPPFLAGS -DPROVIDE_FUZZ_MAIN_FUNCTION "] ,
1269
1269
[ ] ,
1270
1270
[ AC_LANG_PROGRAM ( [ [
1271
1271
#include <cstdint>
@@ -1289,7 +1289,7 @@ else
1289
1289
QT_TEST_INCLUDES=SUPPRESS_WARNINGS($QT_TEST_INCLUDES)
1290
1290
fi
1291
1291
1292
- CPPFLAGS="$CPPFLAGS -DPROVIDE_MAIN_FUNCTION "
1292
+ CPPFLAGS="$CPPFLAGS -DPROVIDE_FUZZ_MAIN_FUNCTION "
1293
1293
fi
1294
1294
1295
1295
if test x$enable_wallet != xno; then
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ void initialize()
44
44
std::get<1 >(it->second )();
45
45
}
46
46
47
- #if defined(PROVIDE_MAIN_FUNCTION )
47
+ #if defined(PROVIDE_FUZZ_MAIN_FUNCTION )
48
48
static bool read_stdin (std::vector<uint8_t >& data)
49
49
{
50
50
uint8_t buffer[1024 ];
@@ -71,7 +71,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
71
71
return 0 ;
72
72
}
73
73
74
- #if defined(PROVIDE_MAIN_FUNCTION )
74
+ #if defined(PROVIDE_FUZZ_MAIN_FUNCTION )
75
75
int main (int argc, char ** argv)
76
76
{
77
77
initialize ();
You can’t perform that action at this time.
0 commit comments