The init function used by all fuzz-wire-* targets. */
| 22 | |
| 23 | /* The init function used by all fuzz-wire-* targets. */ |
| 24 | void init(int *argc, char ***argv) |
| 25 | { |
| 26 | /* Don't call this if we're in unit-test mode, as libfuzz.c does it */ |
| 27 | if (!tmpctx) |
| 28 | common_setup("fuzzer"); |
| 29 | dev_towire_allow_invalid_node_id = true; |
| 30 | } |
| 31 | |
| 32 | /* Test that decoding arbitrary data does not crash. Then, if the data was |
| 33 | * successfully decoded, test that encoding and decoding the message does not |
no test coverage detected