Jinoh Kang jinoh.kang.kr@gmail.com writes:
This is required to implement some instructions that raise second chance exceptions directly, such as those emitted from the __fastfail() intrinsic function.
It doesn't make sense to use setup_exception() if we are not going to send the exception to user space. You could probably simply call NtRaiseException() directly.