THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
426B

  1. #include "commit-graph.h"
  2. #include "repository.h"
  3. struct commit_graph *parse_commit_graph(void *graph_map, int fd,
  4. size_t graph_size);
  5. int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
  6. int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
  7. {
  8. struct commit_graph *g;
  9. initialize_the_repository();
  10. g = parse_commit_graph((void *)data, -1, size);
  11. repo_clear(the_repository);
  12. free(g);
  13. return 0;
  14. }