aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/standalone_fuzz_target_runner.h
diff options
context:
space:
mode:
authorMax Dymond <cmeister2@gmail.com>2017-09-01 21:48:41 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-09-02 11:07:55 +0200
commit57001ce3bb97455d799f0a2180b7bf1287ffd71a (patch)
tree70673d337088c000590eb7645b4702cf7adea7e1 /tests/fuzz/standalone_fuzz_target_runner.h
parentc290b8fb23f6b6fd8e06e22755d23a5e8e3623aa (diff)
ossfuzz: Move to C++ for curl_fuzzer.
Automake gets confused if you want to use C++ static libraries with C code - basically we need to involve the clang++ linker. The easiest way of achieving this is to rename the C code as C++ code. This gets us a bit further along the path and ought to be compatible with Google's version of clang.
Diffstat (limited to 'tests/fuzz/standalone_fuzz_target_runner.h')
-rw-r--r--tests/fuzz/standalone_fuzz_target_runner.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/fuzz/standalone_fuzz_target_runner.h b/tests/fuzz/standalone_fuzz_target_runner.h
deleted file mode 100644
index 37302618b..000000000
--- a/tests/fuzz/standalone_fuzz_target_runner.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/***************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
- * \___|\___/|_| \_\_____|
- *
- * Copyright (C) 2017, Max Dymond, <cmeister2@gmail.com>, et al.
- *
- * This software is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at https://curl.haxx.se/docs/copyright.html.
- *
- * You may opt to use, copy, modify, merge, publish, distribute and/or sell
- * copies of the Software, and permit persons to whom the Software is
- * furnished to do so, under the terms of the COPYING file.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ***************************************************************************/
-
-int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); \ No newline at end of file