[PATCH] D32640: [libFuzzer] exit without running atexit handlers in libfuzzer's crash handler
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 3 13:44:34 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL302076: [libFuzzer] exit without running atexit handlers in libfuzzer's crash handler (authored by vitalybuka).
Changed prior to commit:
https://reviews.llvm.org/D32640?vs=97723&id=97724#toc
Repository:
rL LLVM
https://reviews.llvm.org/D32640
Files:
llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp
Index: llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp
===================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp
+++ llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp
@@ -199,7 +199,7 @@
Printf("SUMMARY: libFuzzer: deadly signal\n");
DumpCurrentUnit("crash-");
PrintFinalStats();
- exit(Options.ErrorExitCode);
+ _Exit(Options.ErrorExitCode); // Stop right now.
}
void Fuzzer::InterruptCallback() {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32640.97724.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170503/776eaede/attachment.bin>
More information about the llvm-commits
mailing list