Git 2.21-rc0
[git.git] / fuzz-commit-graph.c
blobcf790c9d04ca4d3941ed94316b537b5739eba5ed
1 #include "commit-graph.h"
3 struct commit_graph *parse_commit_graph(void *graph_map, int fd,
4 size_t graph_size);
6 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
8 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
10 struct commit_graph *g;
12 g = parse_commit_graph((void *)data, -1, size);
13 free(g);
15 return 0;