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

Function init

tests/fuzz/fuzz-hsm_secret.c:10–19  ·  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 /* Don't run as a unit test under valgrind: too slow! */
13#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
14 if (getenv("VALGRIND") && strcmp(getenv("VALGRIND"), "1") == 0) {
15 common_shutdown();
16 exit(0);
17 }
18#endif
19}
20
21void run(const uint8_t *data, size_t size)
22{

Callers

nothing calls this directly

Calls 1

common_shutdownFunction · 0.85

Tested by

no test coverage detected