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

Always resize the last chunk #20

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Always resize the last chunk #20

merged 1 commit into from
Sep 18, 2023

Conversation

patacca
Copy link
Collaborator

@patacca patacca commented Sep 18, 2023

This might cause errors when having a fake chunk as the very last chunk in the code. This might happen when having some orphan asm code at the very end.
If we don't resize it, that fake chunk will have end_addr == BADADDR, so it will basically be unlimited. This might result in errors when binary searching for chunks.

This might cause errors when having a fake chunk as the very last chunk
in the code. This might happen when having some orphan asm code at the
very end.
If we don't resize it, that fake chunk will have end_addr == BADADDR, so
it will basically be unlimited. This might result in errors when binary
searching for chunks.
@patacca patacca added the bug Something isn't working label Sep 18, 2023
@patacca patacca requested a review from RobinDavid September 18, 2023 16:47
@RobinDavid RobinDavid merged commit 2f1d4cc into main Sep 18, 2023
@patacca patacca deleted the fix_phantom_chunk_bug branch January 31, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants