This is an archive of the discontinued LLVM Phabricator instance.

[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
"unpoison" the entire thread stack, because there is no such thing as
unpoisoned memory. Pointer and memory tags must always match.

Event Timeline

eugenis created this revision.Aug 14 2018, 5:38 PM
vitalybuka accepted this revision.Aug 16 2018, 1:41 PM
This revision is now accepted and ready to land.Aug 16 2018, 1:41 PM
This revision was automatically updated to reflect the committed changes.
Herald added a subscriber: Restricted Project. · View Herald TranscriptAug 16 2018, 1:47 PM