progress: call trace2_region_leave() only after calling _enter()
[git/debian.git] / fuzz-commit-graph.c
blob9fd1c04edd3108917ebae6e83840e1a2383606a9
1 #include "commit-graph.h"
2 #include "repository.h"
4 struct commit_graph *parse_commit_graph(void *graph_map, 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 initialize_the_repository();
13 g = parse_commit_graph((void *)data, size);
14 repo_clear(the_repository);
15 free(g);
17 return 0;