This is an archive of the discontinued LLVM Phabricator instance.

[msan] Deadly signal handler for msan
ClosedPublic

Authored by vitalybuka on Nov 8 2017, 5:25 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

vitalybuka created this revision.Nov 8 2017, 5:25 PM
eugenis added inline comments.Nov 9 2017, 1:31 PM
compiler-rt/lib/msan/msan_interceptors.cc
1268 ↗(On Diff #122185)

Where is this used? Missing file?

vitalybuka added inline comments.Nov 9 2017, 2:03 PM
compiler-rt/lib/msan/msan_interceptors.cc
1268 ↗(On Diff #122185)

sanitizer_common_interceptors.inc

vitalybuka added inline comments.Nov 9 2017, 2:04 PM
compiler-rt/lib/msan/msan_interceptors.cc
1268 ↗(On Diff #122185)

sorry, "sanitizer_common/sanitizer_signal_interceptors.inc"

vitalybuka added inline comments.Nov 9 2017, 2:06 PM
compiler-rt/lib/msan/msan_interceptors.cc
1268 ↗(On Diff #122185)
1268 ↗(On Diff #122185)

I thought I've submitted that one already :-)

eugenis added inline comments.Nov 9 2017, 2:10 PM
compiler-rt/lib/msan/msan_interceptors.cc
1304 ↗(On Diff #122185)

I don't like this casts.Where does the definition of struct sigaction come from? Can we move everything to __sanitizer_sigaction?

This revision was automatically updated to reflect the committed changes.
vitalybuka marked an inline comment as done.Nov 9 2017, 6:07 PM