Skip to content

Commit 01d2cf2

Browse files
author
MarcoFalke
committed
Merge #21080: fuzz: Configure check for main function (take 2)
fac4be3 fuzz: Configure check for main function (take 2) (MarcoFalke) Pull request description: Actually fix google/honggfuzz#336 (comment) Follow-up to #20065 Steps to test: `honggfuzz` section in doc/fuzzing.md ACKs for top commit: practicalswift: cr ACK fac4be3: patch looks correct! Tree-SHA512: 893768c80439fe5d90b883ade89dc02f5bb80e27637916cf5575b6a9ed0b1c04942ff851342f5bbabb8666e6696715427feeb98f5301ad23c7b87b09e5872f97
2 parents 4013e44 + fac4be3 commit 01d2cf2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

configure.ac

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,8 +1254,10 @@ if test "x$enable_fuzz" = "xyes"; then
12541254
#include <cstdint>
12551255
#include <cstddef>
12561256
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { return 0; }
1257-
/* unterminated comment to remove the main function ...
1258-
]],[[]])])
1257+
/* comment to remove the main function ...
1258+
]],[[
1259+
*/ int not_main() {
1260+
]])])
12591261
else
12601262
BITCOIN_QT_INIT
12611263

0 commit comments

Comments
 (0)