This is an archive of the discontinued LLVM Phabricator instance.

hwasan: Bring back operator {new,delete} interceptors on Android.
ClosedPublic

Authored by pcc on Nov 10 2020, 3:55 PM.

Details

Summary

It turns out that we can't remove the operator new and delete
interceptors on Android without breaking ABI, so bring them back
as forwards to the malloc and free functions.

Diff Detail

Event Timeline

pcc created this revision.Nov 10 2020, 3:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2020, 3:55 PM
Herald added subscribers: Restricted Project, krytarowski. · View Herald Transcript
pcc requested review of this revision.Nov 10 2020, 3:55 PM
eugenis accepted this revision.Nov 10 2020, 3:57 PM

LGTM

This revision is now accepted and ready to land.Nov 10 2020, 3:57 PM
This revision was landed with ongoing or failed builds.Nov 10 2020, 4:05 PM
This revision was automatically updated to reflect the committed changes.