FreeBSD delivers a SIGBUS signal for bad addresses rather than SIGSEGV.
Details
Details
- Reviewers
vitalybuka yln dim delcypher - Group Reviewers
Restricted Project - Commits
- rG5695fa919059: [asan] Also allow for SIGBUS in high-address-dereference.c
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp | ||
---|---|---|
296 | Quick question: should the SIGBUS part be behind a #ifdef for FreeBSD to limit unwanted interactions? |
compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp | ||
---|---|---|
296 | I could split this out, but as far as I am aware SIGBUS is only ever raise for memory acceses (e.g. unaligned loads/stores). |
Comment Actions
LGTM, thanks!
I still would feel more comfortable to get a second opinion. Maybe @vitalybuka can comment?
Quick question: should the SIGBUS part be behind a #ifdef for FreeBSD to limit unwanted interactions?