A callback to annotate longjmp-like code.
Unlike __asan_handle_no_return, in hwasan we can not conservatively
"unpoison" the entire thread stack, because there is no such thing as
unpoisoned memory. Pointer and memory tags must always match.
Paths
| Differential D50752
[hwasan] Add __hwasan_handle_longjmp. ClosedPublic Authored by eugenis on Aug 14 2018, 5:38 PM.
Details Summary A callback to annotate longjmp-like code. Unlike __asan_handle_no_return, in hwasan we can not conservatively
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 16 2018, 1:41 PM Closed by commit rCRT339935: [hwasan] Add __hwasan_handle_longjmp. (authored by eugenis). · Explain WhyAug 16 2018, 1:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 160734 compiler-rt/include/sanitizer/hwasan_interface.h
compiler-rt/lib/hwasan/hwasan.cc
compiler-rt/lib/hwasan/hwasan_interface_internal.h
compiler-rt/test/hwasan/TestCases/longjmp.cc
|