Skip to content
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

YJIT: Initialize code buffer with PUSH DS #5217

Merged
merged 1 commit into from
Dec 5, 2021
Merged

YJIT: Initialize code buffer with PUSH DS #5217

merged 1 commit into from
Dec 5, 2021

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented Dec 5, 2021

PUSH DS triggers the #UD processor exception in 64-bit mode, which the
OS translates to a SIGILL. Unlike INT3, this triggers the usual crash
reporter, which makes failures easier to notice. When there is a
debugger attached, the PUSH DS pauses execution just like INT3.

PUSH DS triggers the #UD processor exception in 64-bit mode, which the
OS translates to a SIGILL. Unlike INT3, this triggers the usual crash
reporter, which makes failures easier to notice. When there is a
debugger attached, the PUSH DS pauses execution just like INT3.
@XrXr XrXr merged commit 26063d3 into ruby:master Dec 5, 2021
@XrXr XrXr deleted the push-ds branch December 5, 2021 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant