Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: fe2268649423eba889e942293e9c98c781277bf2 authored by Junio C Hamano on 17 March 2020, 21:16:08 UTC
Git 2.21.2
Tip revision: fe22686
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