Revision 9f443f553171032d5ce004ae326ecb116a6ef4e5 authored by Jean-Noël Avila on 08 October 2020, 20:23:57 UTC, committed by Junio C Hamano on 08 October 2020, 21:01:19 UTC
In command line options, variables are entered between < and >

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 89eed6f
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