This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Don't replace custom signal handlers.
ClosedPublic

Authored by vitalybuka on May 24 2017, 2:45 PM.

Details

Summary

This allows to keep handlers installed by sanitizers.
In other cases third-party code can replace handlers after libFuzzer
initialization anyway.

Diff Detail

Repository
rL LLVM

Event Timeline

vitalybuka created this revision.May 24 2017, 2:45 PM
kcc accepted this revision.May 24 2017, 6:00 PM

LGTM with a nit.

lib/Fuzzer/FuzzerUtilPosix.cpp
60 ↗(On Diff #100167)

no {}

This revision is now accepted and ready to land.May 24 2017, 6:00 PM
vitalybuka marked an inline comment as done.May 24 2017, 6:43 PM
This revision was automatically updated to reflect the committed changes.