Skip to content

UD2 is allowed in Ring 3 code#3249

Merged
colin-home merged 1 commit intoMicrosoftDocs:masterfrom
AzAgarampur:patch-1
Jul 13, 2021
Merged

UD2 is allowed in Ring 3 code#3249
colin-home merged 1 commit intoMicrosoftDocs:masterfrom
AzAgarampur:patch-1

Conversation

@AzAgarampur
Copy link
Copy Markdown
Contributor

@AzAgarampur AzAgarampur commented Jul 12, 2021

Sometimes I'll use __ud2() as a way of intentionally triggering an exception in order to execute a SEH exception handler, rather than triggering one with something like *(int*)0;.

@PRMerger19
Copy link
Copy Markdown
Contributor

@AzAgarampur : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Copy Markdown
Contributor

@colin-home colin-home left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AzAgarampur Thanks for the update.

@colin-home colin-home merged commit 8fba8df into MicrosoftDocs:master Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants