aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/FuzzerIO.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-12-04 22:29:39 +0000
committerKostya Serebryany <kcc@google.com>2015-12-04 22:29:39 +0000
commit9e48cda9bc15eef44ee72f4464edf1bbe5aa7267 (patch)
tree7e3f74d1798ad4423cfdcb20bfb777a7e7fd7a90 /llvm/lib/Fuzzer/FuzzerIO.cpp
parent2f107ce1325cda843a548b15a5cad2dfe3162766 (diff)
downloadllvm-9e48cda9bc15eef44ee72f4464edf1bbe5aa7267.zip
llvm-9e48cda9bc15eef44ee72f4464edf1bbe5aa7267.tar.gz
llvm-9e48cda9bc15eef44ee72f4464edf1bbe5aa7267.tar.bz2
[libFuzzer] compute base64 in-process instead of using an external lib. Since libFuzzer should not depend on anything, just re-implement base64 encoder. PR25746
llvm-svn: 254784
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerIO.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerIO.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerIO.cpp b/llvm/lib/Fuzzer/FuzzerIO.cpp
index abc444a..043fad3 100644
--- a/llvm/lib/Fuzzer/FuzzerIO.cpp
+++ b/llvm/lib/Fuzzer/FuzzerIO.cpp
@@ -91,11 +91,6 @@ std::string DirPlusFile(const std::string &DirPath,
return DirPath + "/" + FileName;
}
-void PrintFileAsBase64(const std::string &Path) {
- std::string Cmd = "base64 -w 0 < " + Path + "; echo";
- ExecuteCommand(Cmd);
-}
-
void Printf(const char *Fmt, ...) {
va_list ap;
va_start(ap, Fmt);