Merge branch 'bw/submodule-helper-usage-fix'
[git/git.git] / fuzz-pack-idx.c
CommitLineData
1127a98c
JS
1#include "object-store.h"
2#include "packfile.h"
3
4int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
5
6int 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}