Git 2.21-rc0
[git/git.git] / fuzz-commit-graph.c
CommitLineData
aa658574
JS
1#include "commit-graph.h"
2
3struct commit_graph *parse_commit_graph(void *graph_map, int fd,
4 size_t graph_size);
5
6int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
7
8int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
9{
10 struct commit_graph *g;
11
12 g = parse_commit_graph((void *)data, -1, size);
13 free(g);
14
15 return 0;
16}