Staging
v0.7.0
Revision 77200e9332cc0f6004c80f5e1e09a7b37bf8a3f3 authored by Christopher Diaz Riveros on 15 September 2019, 21:56:56 UTC, committed by Christopher Diaz Riveros on 29 October 2019, 00:21:27 UTC
Signed-off-by: Christopher Diaz Riveros <christopher.diaz.riv@gmail.com>
1 parent 045a548
Raw File
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