MCPcopy Create free account
hub / github.com/git/git / LLVMFuzzerTestOneInput

Function LLVMFuzzerTestOneInput

oss-fuzz/fuzz-config.c:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24int LLVMFuzzerTestOneInput(const uint8_t *data, const size_t size)
25{
26 struct config_options config_opts = { 0 };
27
28 config_opts.error_action = CONFIG_ERROR_SILENT;
29 git_config_from_mem(config_parser_callback, CONFIG_ORIGIN_BLOB,
30 "fuzztest-config", (const char *)data, size, NULL,
31 CONFIG_SCOPE_UNKNOWN, &config_opts);
32 return 0;
33}

Callers

nothing calls this directly

Calls 1

git_config_from_memFunction · 0.85

Tested by

no test coverage detected