This is an archive of the discontinued LLVM Phabricator instance.

[asan] Reset stack bounds of context
ClosedPublic

Authored by vitalybuka on Jul 20 2022, 7:15 PM.

Details

Summary

ClearShadowMemoryForContextStack assumes that context contains the stack
bounds. This is not true for a context from getcontext or oucp of
swapcontext.

Diff Detail

Event Timeline

vitalybuka created this revision.Jul 20 2022, 7:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 7:15 PM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.Jul 20 2022, 7:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 7:15 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov accepted this revision.Jul 22 2022, 1:22 PM
This revision is now accepted and ready to land.Jul 22 2022, 1:22 PM
This revision was automatically updated to reflect the committed changes.