diff options
author | Zachary Turner <zturner@google.com> | 2016-12-02 20:54:56 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-12-02 20:54:56 +0000 |
commit | 3cfeab7059bf5551c6a40ab3ed05273dfcb5eca4 (patch) | |
tree | e6a5dc4e066f7b5ebcaf300677968a2cc0cb43de /llvm/lib/Fuzzer/FuzzerUtil.h | |
parent | f295cc8fb58690bf3e2975d85abbb7eed5b1efdd (diff) | |
download | bcm5719-llvm-3cfeab7059bf5551c6a40ab3ed05273dfcb5eca4.tar.gz bcm5719-llvm-3cfeab7059bf5551c6a40ab3ed05273dfcb5eca4.zip |
Revert "[LibFuzzer] Split FuzzerUtil for Posix and Windows."
This reverts commit r288529, as it seems to introduce some
problems on the Linux bots.
llvm-svn: 288533
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtil.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerUtil.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtil.h b/llvm/lib/Fuzzer/FuzzerUtil.h index c9de11f063f..97271b99307 100644 --- a/llvm/lib/Fuzzer/FuzzerUtil.h +++ b/llvm/lib/Fuzzer/FuzzerUtil.h @@ -40,8 +40,6 @@ std::string DescribePC(const char *SymbolizedFMT, uintptr_t PC); int NumberOfCpuCores(); -bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out); - // Platform specific functions. void SetTimer(int Seconds); @@ -59,12 +57,9 @@ int GetPid(); size_t GetPeakRSSMb(); -int ExecuteCommand(const std::string &Command); - -FILE *OpenProcessPipe(const char *Command, const char *Mode); +bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out); -const void *SearchMemory(const void *haystack, size_t haystacklen, - const void *needle, size_t needlelen); +int ExecuteCommand(const std::string &Command); } // namespace fuzzer #endif // LLVM_FUZZER_UTIL_H |