Check for correct funtion entry address in munge_threadfunc
* init.cc (munge_threadfunc): Check that we're actually replacing the correct original function address on the stack. * ntdll.h (enum _THREADINFOCLASS): Add ThreadQuerySetWin32StartAddress. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
committed by
Corinna Vinschen
parent
e30d78d685
commit
ff3c4a7d2f
@ -1162,7 +1162,8 @@ typedef enum _THREADINFOCLASS
|
||||
{
|
||||
ThreadBasicInformation = 0,
|
||||
ThreadTimes = 1,
|
||||
ThreadImpersonationToken = 5
|
||||
ThreadImpersonationToken = 5,
|
||||
ThreadQuerySetWin32StartAddress = 9
|
||||
} THREADINFOCLASS, *PTHREADINFOCLASS;
|
||||
|
||||
/* Checked on 64 bit. */
|
||||
|
Reference in New Issue
Block a user