Line | Count | Source |
1 | #include "git-compat-util.h" | |
2 | #include "packfile.h" | |
3 | ||
4 | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); | |
5 | ||
6 | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) | |
7 | 151 | { |
8 | 151 | enum object_type type; |
9 | 151 | unsigned long len; |
10 | ||
11 | 151 | unpack_object_header_buffer((const unsigned char *)data, |
12 | 151 | (unsigned long)size, &type, &len); |
13 | ||
14 | 151 | return 0; |
15 | 151 | } |