fuzz-pack-idx.con commit Merge tag 'v2.23.0-rc2' of git://git.kernel.org/pub/scm/git/git (d6d5cbf)
   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}