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

Function run

tests/fuzz/fuzz-addr.c:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void run(const uint8_t *data, size_t size)
15{
16 uint8_t *script_pubkey = tal_dup_arr(tmpctx, uint8_t, data, size, 0);
17
18 encode_scriptpubkey_to_addr(tmpctx, chainparams, script_pubkey);
19
20 clean_tmpctx();
21}

Callers 1

LLVMFuzzerTestOneInputFunction · 0.70

Calls 2

clean_tmpctxFunction · 0.85

Tested by

no test coverage detected