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

Fix BPatch_effectiveAddress on ppc where only low 32-bit address is extracted #593

Merged
merged 1 commit into from May 10, 2019

Conversation

mxz297
Copy link
Member

@mxz297 mxz297 commented May 2, 2019

This patch is from #524

…ower

In certain circumstances, BPatch_effectiveAddress would generate code that truncated
memory addresses to the bottom 32bits. The result is that instrimentation would see only
the bottom 32bits of any memory address.

Before this patch, the issue occured when instrimentation was applied to load/store instructions
where the address was located in registers r3-r11 (exclusive).

Ideally this function should just be straight removed in future releases (only used by emitASLoad).
@hainest hainest merged commit 4b5a6a6 into master May 10, 2019
@mxz297 mxz297 deleted the ppc_mem_truncate branch May 12, 2019 00:21
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.

None yet

3 participants