This is an archive of the discontinued LLVM Phabricator instance.

[msan] Dump shadow address
ClosedPublic

Authored by vitalybuka on Oct 6 2021, 1:13 PM.

Details

Summary

before:
00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00
now:
0x2f60d213ac10[0x7f60d213ac10] 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00

Diff Detail

Event Timeline

vitalybuka requested review of this revision.Oct 6 2021, 1:13 PM
vitalybuka created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2021, 1:13 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
eugenis accepted this revision.Oct 7 2021, 11:18 AM

LGTM

You know that you can also use msan_print_shadow, which is better in every way? :)
Also, do you mind updating
msan_print_shadow to show the memory address, in addition to the shadow address, in the header?

This revision is now accepted and ready to land.Oct 7 2021, 11:18 AM
This revision was automatically updated to reflect the committed changes.