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

Only check for PROT_{READ,WRITE,EXEC} in assert_segments_match() #3768

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

pcc
Copy link
Contributor

@pcc pcc commented Jun 25, 2024

On arm64, mapping protection flags can include PROT_BTI and PROT_MTE, but they are not shown in /proc/pid/maps, so if a mapping has one of these the assert_segments_match() check will fail. Fix it by masking out flags that are not shown in /proc/pid/maps when doing the check.

On arm64, mapping protection flags can include PROT_BTI and PROT_MTE,
but they are not shown in /proc/pid/maps, so if a mapping has one of
these the assert_segments_match() check will fail. Fix it by masking
out flags that are not shown in /proc/pid/maps when doing the check.
@rocallahan rocallahan merged commit c3ed80b into rr-debugger:master Jun 25, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants