| 8 | #include <tests/fuzz/libfuzz.h> |
| 9 | |
| 10 | void init(int *argc, char ***argv) |
| 11 | { |
| 12 | chainparams = chainparams_for_network("bitcoin"); |
| 13 | /* Don't call this if we're in unit-test mode, as libfuzz.c does it */ |
| 14 | if (!tmpctx) |
| 15 | common_setup("fuzzer"); |
| 16 | } |
| 17 | |
| 18 | void run(const uint8_t *data, size_t size) |
| 19 | { |
nothing calls this directly
no test coverage detected