diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-05-07 22:09:13 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-06-04 14:39:24 +0200 |
commit | f59d0131cb6fc224aee0a0a92de1f04cdebe97c8 (patch) | |
tree | 58b37d06e30988507c0b9eb59bc66ff8747a58af /fuzz/fuzzer.h | |
parent | 255cf605d67e72b73e6130d4c7bbe68c0eb22d8e (diff) | |
download | openssl-new-f59d0131cb6fc224aee0a0a92de1f04cdebe97c8.tar.gz |
Add support for fuzzing with AFL
Reviewed-by: Ben Laurie <ben@links.org>
MR: #2740
Diffstat (limited to 'fuzz/fuzzer.h')
-rw-r--r-- | fuzz/fuzzer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h index b3c3428c9b..289aee2f60 100644 --- a/fuzz/fuzzer.h +++ b/fuzz/fuzzer.h @@ -8,5 +8,5 @@ * or in the file LICENSE in the source distribution. */ -int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len); -int LLVMFuzzerInitialize(int *argc, char ***argv); +int FuzzerTestOneInput(const uint8_t *buf, size_t len); +__attribute__((weak)) int FuzzerInitialize(int *argc, char ***argv); |