This is an archive of the discontinued LLVM Phabricator instance.

DFSan's set label function should avoid writing to the shadow memory when the write would not change the value in memory.
AbandonedPublic

Authored by skerner on Aug 13 2014, 6:42 PM.

Details

Reviewers
pcc
Summary

When writing a label to shadow memory, don't write if the value is already set to the value being written. This dramatically reduces real memory consumption in programs with sparse use of labels.

Diff Detail

Event Timeline

skerner updated this revision to Diff 12475.Aug 13 2014, 6:42 PM
skerner retitled this revision from to DFSan's set label function should avoid writing to the shadow memory when the write would not change the value in memory..
skerner updated this object.
skerner edited the test plan for this revision. (Show Details)
skerner added a reviewer: pcc.
skerner added a subscriber: Unknown Object (MLST).Aug 13 2014, 6:44 PM
skerner abandoned this revision.Aug 13 2014, 6:47 PM