MCPcopy Create free account
hub / github.com/ElementsProject/elements / FUZZ_TARGET

Function FUZZ_TARGET

src/test/fuzz/parse_script.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <test/fuzz/fuzz.h>
8
9FUZZ_TARGET(parse_script)
10{
11 const std::string script_string(buffer.begin(), buffer.end());
12 try {
13 (void)ParseScript(script_string);
14 } catch (const std::runtime_error&) {
15 }
16}

Callers

nothing calls this directly

Calls 3

ParseScriptFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected