summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerInterface.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-02-13 03:59:26 +0000
committerKostya Serebryany <kcc@google.com>2016-02-13 03:59:26 +0000
commit29bcb9f54e7509a532395a1e4ccaa779e0a0b472 (patch)
tree762f5c3656a15aadc6a03df5181f04c035a55249 /llvm/lib/Fuzzer/FuzzerInterface.h
parent23194963f7979730c21023771acf97e5a9a3c745 (diff)
downloadbcm5719-llvm-29bcb9f54e7509a532395a1e4ccaa779e0a0b472.tar.gz
bcm5719-llvm-29bcb9f54e7509a532395a1e4ccaa779e0a0b472.zip
[libFuzzer] remove the C++-ish variant of FuzzerDriver from the interface
llvm-svn: 260801
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInterface.h')
-rw-r--r--llvm/lib/Fuzzer/FuzzerInterface.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInterface.h b/llvm/lib/Fuzzer/FuzzerInterface.h
index 04e9b8350b9..48a5c1bf71e 100644
--- a/llvm/lib/Fuzzer/FuzzerInterface.h
+++ b/llvm/lib/Fuzzer/FuzzerInterface.h
@@ -16,11 +16,8 @@
#ifndef LLVM_FUZZER_INTERFACE_H
#define LLVM_FUZZER_INTERFACE_H
-#include <limits>
#include <cstddef>
#include <cstdint>
-#include <vector>
-#include <string>
// Plain C interface. Should be sufficient for most uses.
extern "C" {
@@ -73,9 +70,6 @@ int main(int argc, char **argv) {
*/
int FuzzerDriver(int argc, char **argv, UserCallback Callback);
-/// More C++-ish interface.
-int FuzzerDriver(const std::vector<std::string> &Args, UserCallback Callback);
-
// Same interface as LLVMFuzzerTestOneInput.
// Can be used inside the user-supplied LLVMFuzzerTestOneInput.
size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed);
OpenPOWER on IntegriCloud