diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 12:33:14 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 17:11:25 -0500 |
| commit | 489aec44477181afa05db41bfd04bb0febe83f59 (patch) | |
| tree | e39fb2dc18198a307fddf0f72c6965a200e4c4e4 /fuzzers/standalone_driver.h | |
| parent | 0429894e0bd1eee077e07b22528d569c8636d6f1 (diff) | |
| download | libgit2-489aec44477181afa05db41bfd04bb0febe83f59.tar.gz | |
fuzzers: declare standalone functions
Diffstat (limited to 'fuzzers/standalone_driver.h')
| -rw-r--r-- | fuzzers/standalone_driver.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fuzzers/standalone_driver.h b/fuzzers/standalone_driver.h new file mode 100644 index 000000000..507fcb9fd --- /dev/null +++ b/fuzzers/standalone_driver.h @@ -0,0 +1,14 @@ +/* + * 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_standalone_driver_h__ +#define INCLUDE_standalone_driver_h__ + +extern int LLVMFuzzerTestOneInput(const unsigned char *data, size_t size); +extern int LLVMFuzzerInitialize(int *argc, char ***argv); + +#endif |
