diff options
author | Kostya Serebryany <kcc@google.com> | 2016-02-13 03:59:26 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-02-13 03:59:26 +0000 |
commit | 29bcb9f54e7509a532395a1e4ccaa779e0a0b472 (patch) | |
tree | 762f5c3656a15aadc6a03df5181f04c035a55249 /llvm/lib/Fuzzer/FuzzerInterface.h | |
parent | 23194963f7979730c21023771acf97e5a9a3c745 (diff) | |
download | bcm5719-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.h | 6 |
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); |