Files
libgit2/fuzzers/fuzzer_utils.h
Edward Thomson 8bd69574bd fuzzers: provide util functions like repo init
Many fuzzers will need to operate with a repository; extract the
repository initialization from downloads_refs_fuzzer.c into its own
utility area.
2024-02-06 16:56:30 +00:00

15 lines
384 B
C

/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_fuzzer_utils_h__
#define INCLUDE_fuzzer_utils_h__
extern void fuzzer_git_abort(const char *op);
extern git_repository *fuzzer_repo_init(void);
#endif