Skip to content

UD2 is allowed in Ring 3 code #3249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2021
Merged

UD2 is allowed in Ring 3 code #3249

merged 1 commit into from
Jul 13, 2021

Conversation

AzAgarampur
Copy link
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
Contributor

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

Copy link
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