This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] exit without running atexit handlers in libfuzzer's crash handler
ClosedPublic

Authored by jochen on Apr 28 2017, 3:23 AM.

Details

Summary

It's not safe to assume that atexit handlers can be run once the app crashed.

Patch by Jochen Eisinger.

Diff Detail

Repository
rL LLVM

Event Timeline

jochen created this revision.Apr 28 2017, 3:23 AM
jochen updated this revision to Diff 97072.Apr 28 2017, 3:26 AM

forgot to include the error exit code..

jochen edited reviewers, added: vitalybuka; removed: glider.May 2 2017, 3:52 AM
This revision is now accepted and ready to land.May 3 2017, 12:37 PM
vitalybuka updated this revision to Diff 97723.May 3 2017, 1:42 PM

Update description.

vitalybuka retitled this revision from exit without running atexit handlers in libfuzzer's crash handler to [libFuzzer] exit without running atexit handlers in libfuzzer's crash handler.May 3 2017, 1:43 PM
vitalybuka edited the summary of this revision. (Show Details)
vitalybuka added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.