mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
fuzz: Configure check for main function (take 2)
This commit is contained in:
parent
ea5a50f92a
commit
fac4be3048
1 changed files with 4 additions and 2 deletions
|
@ -1254,8 +1254,10 @@ if test "x$enable_fuzz" = "xyes"; then
|
|||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { return 0; }
|
||||
/* unterminated comment to remove the main function ...
|
||||
]],[[]])])
|
||||
/* comment to remove the main function ...
|
||||
]],[[
|
||||
*/ int not_main() {
|
||||
]])])
|
||||
else
|
||||
BITCOIN_QT_INIT
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue