Avoid calling the exception handler in some cases.
This commit is contained in:
parent
1dbf403db4
commit
2352cf79ce
|
@ -214,7 +214,8 @@ SNOOP_PrintArg(DWORD x) {
|
|||
|
||||
if ( !HIWORD(x) ||
|
||||
!VirtualQuery((LPVOID)x,&mbi,sizeof(mbi)) ||
|
||||
!mbi.Type
|
||||
!mbi.Type ||
|
||||
(mbi.Protect == PAGE_NOACCESS)
|
||||
) {
|
||||
sprintf(buf,"%08lx",x);
|
||||
return buf;
|
||||
|
|
Loading…
Reference in New Issue