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

Unmap several pages when address range is over multiple pages #324

Open
wants to merge 4 commits into
base: unstable
Choose a base branch
from

Conversation

Caesurus
Copy link
Contributor

@Caesurus Caesurus commented Jun 8, 2019

This is a PR to attempt to address: #323

@Caesurus
Copy link
Contributor Author

Hold off on this, I am testing with a different packed binary and that one ends up giving a UC_ERR_READ_UNMAPPED on what seems like a valid memory address. When testing with the head of unstable I don't see the error, so this change doesn't seem ok at the moment. Sorry.

@lunixbochs
Copy link
Owner

This doesn't handle splitting pages, like...
0x1000 - 0x4000 and you unmap 0x2000-3000

@lunixbochs
Copy link
Owner

For this we should really write some unit tests around the issue you're seeing.

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