This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] Remove allocator interceptors.
ClosedPublic

Authored by eugenis on Sep 5 2018, 6:13 PM.

Details

Summary

When building without COMPILER_RT_HWASAN_WITH_INTERCEPTORS, skip
interceptors for malloc/free/etc and only export their versions with
__sanitizer_ prefix.

Also remove a hack in mallinfo() interceptor that does not apply to
hwasan.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Sep 5 2018, 6:13 PM
kcc accepted this revision.Sep 6 2018, 3:07 PM

LGTM

This revision is now accepted and ready to land.Sep 6 2018, 3:07 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.
Herald added a subscriber: Restricted Project. · View Herald TranscriptSep 6 2018, 3:54 PM
Herald added a subscriber: delcypher. · View Herald Transcript