Skip to content

Instantly share code, notes, and snippets.

@Donpedro13
Last active October 26, 2020 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Donpedro13/3cf0f6c7944d569b51b542bd88500eed to your computer and use it in GitHub Desktop.
Save Donpedro13/3cf0f6c7944d569b51b542bd88500eed to your computer and use it in GitHub Desktop.
/* ... */
PEXCEPTION_RECORDS pExc = __rax;
if (pExc->ExceptionCode == EXCEPTION_STACK_OVERFLOW ||
(pExc->ExceptionCode == EXCEPTION_ACCESS_VIOLATION &&
pExc.ExceptionInformation[0] == EXCEPTION_EXECUTE_FAULT))
{
return E_NOTIMPL;
}
/* ... */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment