This is an archive of the discontinued LLVM Phabricator instance.

[asan] Add __asan_set_shadow_*
ClosedPublic

Authored by vitalybuka on Aug 17 2016, 11:22 AM.

Details

Summary

We are poisoning small allocas using store instruction from instrumented code.
For large allocas we'd like to insert function calls instead of multiple stores.

Diff Detail

Event Timeline

vitalybuka retitled this revision from to [Asan] Add __asan_memset_real to allow poisoning shadow directly from instrumented code.
vitalybuka updated this object.
vitalybuka added reviewers: kcc, eugenis.
vitalybuka added a subscriber: llvm-commits.

clang format

vitalybuka retitled this revision from [Asan] Add __asan_memset_real to allow poisoning shadow directly from instrumented code to [asan] Add __asan_memset_real to allow poisoning shadow directly from instrumented code.Aug 17 2016, 1:18 PM
vitalybuka updated this revision to Diff 68430.Aug 17 2016, 3:08 PM

__asan_set_shadow_*

vitalybuka retitled this revision from [asan] Add __asan_memset_real to allow poisoning shadow directly from instrumented code to [asan] Add __asan_set_shadow_*.Aug 17 2016, 3:09 PM
vitalybuka updated this object.
vitalybuka updated this revision to Diff 68431.Aug 17 2016, 3:10 PM

Removed unchanged file

eugenis accepted this revision.Aug 17 2016, 5:43 PM
eugenis edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 17 2016, 5:43 PM
This revision was automatically updated to reflect the committed changes.