Open
Description
https://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-raiseexception
Currently our windows type library has RaiseException
marked as noreturn, this is not correct, we can continue execution in the cases where dwExceptionFlags
is zero. See the binary gentle mountain creates brightly
@ 0x51ae92
. There might be some other type library functions incorrectly marked noreturn that need this conditional behavior. We currently do this for TerminateProcess
(if the process handle is from GetCurrentProcess
). IDA seems to exhibit the correct behavior and does not treat it as a no return.