https://github.com/git/git
Raw File
Tip revision: 69986e19ffcfb9af674ae5180689ab7bbf92ed28 authored by Junio C Hamano on 19 October 2020, 16:58:42 UTC
Git 2.29
Tip revision: 69986e1
fuzz-pack-idx.c
#include "object-store.h"
#include "packfile.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
	struct packed_git p;

	load_idx("fuzz-input", GIT_SHA1_RAWSZ, (void *)data, size, &p);

	return 0;
}
back to top