diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-02-05 10:04:50 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-02-05 10:04:56 +0100 |
commit | 01d2cf2674fd85f6e48857b1d7dee47543e29283 (patch) | |
tree | 37db2d3bf2314db73b307236dca6c70ef5ec4eae | |
parent | 4013e44c744433bf28a6b518833e20b2a481ed56 (diff) | |
parent | fac4be30482c21ac330e09ef8756c49e37faa6fa (diff) |
Merge #21080: fuzz: Configure check for main function (take 2)
fac4be30482c21ac330e09ef8756c49e37faa6fa fuzz: Configure check for main function (take 2) (MarcoFalke)
Pull request description:
Actually fix https://github.com/google/honggfuzz/issues/336#issuecomment-702972138
Follow-up to #20065
Steps to test: `honggfuzz` section in doc/fuzzing.md
ACKs for top commit:
practicalswift:
cr ACK fac4be30482c21ac330e09ef8756c49e37faa6fa: patch looks correct!
Tree-SHA512: 893768c80439fe5d90b883ade89dc02f5bb80e27637916cf5575b6a9ed0b1c04942ff851342f5bbabb8666e6696715427feeb98f5301ad23c7b87b09e5872f97
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index dca4c5edd8..c16eae8ba1 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |