You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as part of issue #460 I'm considering a -conservative option that's off by
default, letting me do technically risky but 99.9% safe stuff and improve
performance.
things like: read retaddr off stack an entrance to hooked callee w/o
try/except. read args off stack as well. remember this is on entrance to
standard allocation routines. extremely unlikely to have a bad stack
pointer there: requires hand-rolled bizarre code.
another: assume module won't be racily unloaded while code inside it
continues to execute: allowing me to pass data structs around that might be
deleted on racy unload and avoid table lookups at hook time.
From bruen...@google.com on December 07, 2011 13:15:57
as part of issue #460 I'm considering a -conservative option that's off by
default, letting me do technically risky but 99.9% safe stuff and improve
performance.
things like: read retaddr off stack an entrance to hooked callee w/o
try/except. read args off stack as well. remember this is on entrance to
standard allocation routines. extremely unlikely to have a bad stack
pointer there: requires hand-rolled bizarre code.
another: assume module won't be racily unloaded while code inside it
continues to execute: allowing me to pass data structs around that might be
deleted on racy unload and avoid table lookups at hook time.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=708
The text was updated successfully, but these errors were encountered: