MCPcopy Create free account
hub / github.com/ElementsProject/lightning / init

Function init

tests/fuzz/fuzz-addr.c:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <tests/fuzz/libfuzz.h>
9
10void 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
18void run(const uint8_t *data, size_t size)
19{

Callers

nothing calls this directly

Calls 2

chainparams_for_networkFunction · 0.85
common_setupFunction · 0.85

Tested by

no test coverage detected