This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] An option to disable tag randomization.
ClosedPublic

Authored by eugenis on Jan 9 2018, 2:39 PM.

Details

Summary

Avoid flaky test failures by by using a monotonic number sequence of
heap tags.

Does not affect stack tags: the way we generate those guarantees
uniqueness for at least 30-something first allocas in any function,
as well as the UAR tag.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Jan 9 2018, 2:39 PM
kcc accepted this revision.Jan 10 2018, 11:18 AM

LGTM

This revision is now accepted and ready to land.Jan 10 2018, 11:18 AM
This revision was automatically updated to reflect the committed changes.