summaryrefslogtreecommitdiffstats
path: root/fuzz/fuzzer.h
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2016-03-26 18:19:14 +0100
committerBen Laurie <ben@links.org>2016-05-07 19:13:54 +0200
commitc38bb72797916f2a0ab9906aad29162ca8d53546 (patch)
treee3df72e2e4c4d14a822cd0a3101d005a8923a929 /fuzz/fuzzer.h
parentConstify PKCS12_newpass() (diff)
downloadopenssl-c38bb72797916f2a0ab9906aad29162ca8d53546.tar.xz
openssl-c38bb72797916f2a0ab9906aad29162ca8d53546.zip
Add fuzzing!
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'fuzz/fuzzer.h')
-rw-r--r--fuzz/fuzzer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h
new file mode 100644
index 0000000000..b3c3428c9b
--- /dev/null
+++ b/fuzz/fuzzer.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL licenses, (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * https://www.openssl.org/source/license.html
+ * or in the file LICENSE in the source distribution.
+ */
+
+int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len);
+int LLVMFuzzerInitialize(int *argc, char ***argv);