summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerIO.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2019-02-12 00:12:33 +0000
committerKostya Serebryany <kcc@google.com>2019-02-12 00:12:33 +0000
commit63f48717b58d76523fdbfdba6fa1e2c10ae9e3da (patch)
tree4d83c194d8dd5d507aac81d062664802b4df0929 /compiler-rt/lib/fuzzer/FuzzerIO.h
parent9ebc9dbd3c7d8ce5fb35d3d166279b39808dac0b (diff)
downloadbcm5719-llvm-63f48717b58d76523fdbfdba6fa1e2c10ae9e3da.tar.gz
bcm5719-llvm-63f48717b58d76523fdbfdba6fa1e2c10ae9e3da.zip
[libFuzzer] extend the -fork=1 functionality. Still not fully usable, but good enough for the first unit test
llvm-svn: 353775
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerIO.h')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerIO.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerIO.h b/compiler-rt/lib/fuzzer/FuzzerIO.h
index c3bc6089eb2..b31aea9ded7 100644
--- a/compiler-rt/lib/fuzzer/FuzzerIO.h
+++ b/compiler-rt/lib/fuzzer/FuzzerIO.h
@@ -81,6 +81,10 @@ void DiscardOutput(int Fd);
intptr_t GetHandleFromFd(int fd);
+void MkDir(const std::string &Path);
+void RmDir(const std::string &Path);
+void RmFilesInDir(const std::string &Path);
+
} // namespace fuzzer
#endif // LLVM_FUZZER_IO_H
OpenPOWER on IntegriCloud