summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2019-02-15 21:51:15 +0000
committerKostya Serebryany <kcc@google.com>2019-02-15 21:51:15 +0000
commit9982ee5472f87059cee75146293d0742f95bacc8 (patch)
treeac683d4c69d22595ef1823427fef62321d20b28d /compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
parent1dcff8d17ca44abb090ed38d3ef70d25c8e3465c (diff)
downloadbcm5719-llvm-9982ee5472f87059cee75146293d0742f95bacc8.tar.gz
bcm5719-llvm-9982ee5472f87059cee75146293d0742f95bacc8.zip
[libFuzzer] form mode: add -ignore_crashes flag, honor the max_total_time flag, print the number of ooms/timeouts/crashes, fix a typo
llvm-svn: 354175
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp b/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
index 93eaad6c97f..92d19d3b69f 100644
--- a/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
@@ -79,7 +79,7 @@ void ListFilesInDirRecursive(const std::string &Dir, long *Epoch,
}
-void IterateDirRecurisve(const std::string &Dir,
+void IterateDirRecursive(const std::string &Dir,
void (*DirPreCallback)(const std::string &Dir),
void (*DirPostCallback)(const std::string &Dir),
void (*FileCallback)(const std::string &Dir)) {
@@ -94,7 +94,7 @@ void IterateDirRecurisve(const std::string &Dir,
else if ((E->d_type == DT_DIR ||
(E->d_type == DT_UNKNOWN && IsDirectory(Path))) &&
*E->d_name != '.')
- IterateDirRecurisve(Path, DirPreCallback, DirPostCallback, FileCallback);
+ IterateDirRecursive(Path, DirPreCallback, DirPostCallback, FileCallback);
}
closedir(D);
DirPostCallback(Dir);
OpenPOWER on IntegriCloud