]>
Commit | Line | Data |
---|---|---|
aa658574 | 1 | #include "commit-graph.h" |
249dc534 | 2 | #include "repository.h" |
aa658574 | 3 | |
ab14d067 TB |
4 | struct commit_graph *parse_commit_graph(struct repository *r, |
5 | void *graph_map, size_t graph_size); | |
aa658574 JS |
6 | |
7 | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); | |
8 | ||
9 | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) | |
10 | { | |
11 | struct commit_graph *g; | |
12 | ||
249dc534 | 13 | initialize_the_repository(); |
ab14d067 | 14 | g = parse_commit_graph(the_repository, (void *)data, size); |
249dc534 | 15 | repo_clear(the_repository); |
104de886 | 16 | free_commit_graph(g); |
aa658574 JS |
17 | |
18 | return 0; | |
19 | } |