Skip to content

Conversation

@brenoguim
Copy link
Collaborator

@brenoguim brenoguim commented Feb 24, 2023

I started to investigate the reason for this comment /* !!! Why do we stop after a .dynstr section? I can't remember! */

I removed the condition, and investigated failing tests (many broke). This patch removes the condition and fixes the issues arising from it.

What happens is that without that condition we replace many more sections, making the size of the first LOAD segment insufficient to fit all sections. Also, the first LOAD segment might be read only, and we could be bringing in a section that requires writes.

I'm not sure if we should merge this. @Mic92 @cgzones this mainly goes to show the need to improve testability mentioned in #468

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.

1 participant