mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
fix(crash): try to handle crash in vectored excpt handler
This commit is contained in:
parent
c782368020
commit
76d46f4c2f
@ -71,6 +71,11 @@ namespace arxan
|
||||
return EXCEPTION_CONTINUE_EXECUTION;
|
||||
}
|
||||
|
||||
if (info->ExceptionRecord->ExceptionCode == STATUS_SINGLE_STEP)
|
||||
{
|
||||
return EXCEPTION_CONTINUE_EXECUTION;
|
||||
}
|
||||
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
||||
@ -136,7 +141,7 @@ namespace arxan
|
||||
nt_query_information_process_hook.create(ntdll.get_proc<void*>("NtQueryInformationProcess"),
|
||||
nt_query_information_process_stub);
|
||||
|
||||
AddVectoredExceptionHandler(1, exception_filter);
|
||||
AddVectoredExceptionHandler(0, exception_filter);
|
||||
}
|
||||
|
||||
void post_unpack() override
|
||||
|
Loading…
Reference in New Issue
Block a user