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
for AppInit injection we need to initialize the shadow memory for the part of the stack
that has been used already. I didn't do this earlier b/c I had no way to get the current
stack: but PR 395156 gives that to me now.
another problem is handling loss of control on a cbret
this shows up as:
ASSERT pt_parent != NULL common/alloc.c:1019
in addition to marking stack, etc. after re-taking over, DR often takes
over via NtAllocateVirtualMemory hook. client sees post-syscall but never
saw pre => more asserts, like:
in event_basic_block(tag=0x772f03a0)
processing system call #2 NtCallbackReturn
in event_basic_block(tag=0x772f0573)
processing system call #21 NtAllocateVirtualMemory
NtAllocateVirtualMemory: 0x002b0000-0x002b2000 vcommit commit
ASSERT FAILURE (thread 3504): E:/derek/dr/misc/internal/clients/drmemory/common/alloc.c:1268: !is_in_heap_region(base) (HeapAlloc vs VirtualAlloc: error distinguishing)
From derek.br...@gmail.com on December 10, 2010 17:57:41
PR 408521
for AppInit injection we need to initialize the shadow memory for the part of the stack
that has been used already. I didn't do this earlier b/c I had no way to get the current
stack: but PR 395156 gives that to me now.
another problem is handling loss of control on a cbret
this shows up as:
ASSERT pt_parent != NULL common/alloc.c:1019
in addition to marking stack, etc. after re-taking over, DR often takes
over via NtAllocateVirtualMemory hook. client sees post-syscall but never
saw pre => more asserts, like:
in event_basic_block(tag=0x772f03a0)
processing system call
#2
NtCallbackReturnin event_basic_block(tag=0x772f0573)
processing system call
#21
NtAllocateVirtualMemoryNtAllocateVirtualMemory: 0x002b0000-0x002b2000 vcommit commit
ASSERT FAILURE (thread 3504): E:/derek/dr/misc/internal/clients/drmemory/common/alloc.c:1268: !is_in_heap_region(base) (HeapAlloc vs VirtualAlloc: error distinguishing)
Original issue: http://code.google.com/p/drmemory/issues/detail?id=112
The text was updated successfully, but these errors were encountered: