This is an archive of the discontinued LLVM Phabricator instance.

[ASan] Use dynamic shadow on 32-bit iOS and simulators
ClosedPublic

Authored by yln on Jun 19 2019, 5:44 PM.

Details

Summary

The VM layout on iOS is not stable between releases. On 64-bit iOS and
its derivatives we use a dynamic shadow offset that enables ASan to
search for a valid location for the shadow heap on process launch rather
than hardcode it.

This commit extends that approach for 32-bit iOS plus derivatives and
their simulators.

Associated radars:
rdar://50645192
rdar://51200372
rdar://51767702

Diff Detail

Repository
rL LLVM

Event Timeline

yln created this revision.Jun 19 2019, 5:44 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 19 2019, 5:44 PM
Herald added subscribers: llvm-commits, Restricted Project, hiraditya, kubamracek. · View Herald Transcript
yln edited the summary of this revision. (Show Details)Jun 21 2019, 1:29 PM
This revision is now accepted and ready to land.Jun 21 2019, 1:39 PM
This revision was automatically updated to reflect the committed changes.