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

Memory exceptions: Keep track of access size #16695

Merged
merged 3 commits into from
Jan 4, 2023

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jan 1, 2023

Report the size of bad accesses when available.

Note that there's some future work to do here in the memory fault handler to extract the access size from the instruction.

Might theoretically help in tracking some things down.

Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
@hrydgard hrydgard added this to the v1.15.0 milestone Jan 1, 2023
Core/MIPS/IR/IRInterpreter.cpp Outdated Show resolved Hide resolved
@hrydgard hrydgard force-pushed the memory-exception-report-size branch from 39002dc to 700a018 Compare January 1, 2023 19:48
@hrydgard hrydgard merged commit 0076897 into master Jan 4, 2023
@hrydgard hrydgard deleted the memory-exception-report-size branch January 4, 2023 08:52
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