t4211: move SHA-1-specific test cases into a directory
[git] / fuzz-pack-idx.c
1 #include "object-store.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 {
8         struct packed_git p;
9
10         load_idx("fuzz-input", GIT_SHA1_RAWSZ, (void *)data, size, &p);
11
12         return 0;
13 }