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

movsxd ignores page protection. #1881

Open
pl1047 opened this issue Sep 16, 2023 · 1 comment
Open

movsxd ignores page protection. #1881

pl1047 opened this issue Sep 16, 2023 · 1 comment

Comments

@pl1047
Copy link

pl1047 commented Sep 16, 2023

title. can be read with UC_PROT_NONE without fault... (x64)

@pl1047
Copy link
Author

pl1047 commented Sep 16, 2023

Never mind, it seems I've misunderstood something. Its not the specific instruction, it just seems that protection is not always evaluated if you change it?

EDIT: Mmm if I go:
self.uc.mem_write(self.rip, bytes(self.uc.mem_read(self.rip, 1))) # Invaliate tb
it works as expected. Maybe mem_protect() should invalidate tb? I dunno, close as you see fit hehe.

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

No branches or pull requests

1 participant