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
12651265 [ [ -fsanitize=$use_sanitizers] ] ,
12661266 [ AC_MSG_RESULT ( [ no] ) ] ,
12671267 [ AC_MSG_RESULT ( [ yes] )
1268- CPPFLAGS="$CPPFLAGS -DPROVIDE_MAIN_FUNCTION "] ,
1268+ CPPFLAGS="$CPPFLAGS -DPROVIDE_FUZZ_MAIN_FUNCTION "] ,
12691269 [ ] ,
12701270 [ AC_LANG_PROGRAM ( [ [
12711271 #include <cstdint>
@@ -1289,7 +1289,7 @@ else
12891289 QT_TEST_INCLUDES=SUPPRESS_WARNINGS($QT_TEST_INCLUDES)
12901290 fi
12911291
1292- CPPFLAGS="$CPPFLAGS -DPROVIDE_MAIN_FUNCTION "
1292+ CPPFLAGS="$CPPFLAGS -DPROVIDE_FUZZ_MAIN_FUNCTION "
12931293fi
12941294
12951295if test x$enable_wallet != xno; then
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ void initialize()
4444 std::get<1 >(it->second )();
4545}
4646
47- #if defined(PROVIDE_MAIN_FUNCTION )
47+ #if defined(PROVIDE_FUZZ_MAIN_FUNCTION )
4848static bool read_stdin (std::vector<uint8_t >& data)
4949{
5050 uint8_t buffer[1024 ];
@@ -71,7 +71,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
7171 return 0 ;
7272}
7373
74- #if defined(PROVIDE_MAIN_FUNCTION )
74+ #if defined(PROVIDE_FUZZ_MAIN_FUNCTION )
7575int main (int argc, char ** argv)
7676{
7777 initialize ();
You can’t perform that action at this time.
0 commit comments