Merge branch 'rb/no-dev-zero-in-test'
[git.git] / fuzz-commit-graph.c
blob0157acbf2e0554aaa7b3b6750a4d2bdc1ff89abd
1 #include "commit-graph.h"
2 #include "repository.h"
4 struct commit_graph *parse_commit_graph(void *graph_map, int fd,
5 size_t graph_size);
7 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
9 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
11 struct commit_graph *g;
13 initialize_the_repository();
14 g = parse_commit_graph((void *)data, -1, size);
15 repo_clear(the_repository);
16 free(g);
18 return 0;