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

Function LLVMFuzzerTestOneInput

oss-fuzz/fuzz-pack-headers.c:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
5
6int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
7{
8 enum object_type type;
9 size_t len;
10
11 unpack_object_header_buffer((const unsigned char *)data,
12 (unsigned long)size, &type, &len);
13
14 return 0;
15}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected