This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] Add a basic API.
ClosedPublic

Authored by eugenis on Aug 14 2018, 4:43 PM.

Details

Summary

Add user tag manipulation functions:

__hwasan_tag_memory
__hwasan_tag_pointer
__hwasan_print_shadow (very simple and ugly, for now)

Diff Detail

Event Timeline

eugenis created this revision.Aug 14 2018, 4:43 PM
vitalybuka accepted this revision.Aug 14 2018, 4:51 PM
vitalybuka added inline comments.
compiler-rt/include/sanitizer/hwasan_interface.h
35 ↗(On Diff #160721)

/* -> //

39 ↗(On Diff #160721)

Add -> set

This revision is now accepted and ready to land.Aug 14 2018, 4:51 PM
eugenis updated this revision to Diff 160724.Aug 14 2018, 4:59 PM
eugenis marked 2 inline comments as done.

addressed 2 comments

This revision was automatically updated to reflect the committed changes.
Herald added a subscriber: Restricted Project. · View Herald TranscriptAug 14 2018, 5:40 PM