Skip to content

Add option to control emission of noload segment#79

Merged
AngheloAlf merged 4 commits intodecompals:mainfrom
polybiusproxy:main
Apr 20, 2026
Merged

Add option to control emission of noload segment#79
AngheloAlf merged 4 commits intodecompals:mainfrom
polybiusproxy:main

Conversation

@polybiusproxy
Copy link
Copy Markdown
Contributor

Adds option to control the emission of the .noload segment. Defaults to true.
Documentation hasn't been added yet.

Copy link
Copy Markdown
Contributor

@AngheloAlf AngheloAlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of avoid emitting all the stuff from the noload segment, including linker symbols and such, but I'm not so sure about making it a new setting because you can end up with a list of sections in noload_sections but emit_noload_segment: False which may be counterintuitive to the user.

Maybe we could make noload_sections nullable instead, so if you don't want those to get emitted then you would just do noload_sections: null instead of noload_sections: [] & emit_noload_segment: False

@AngheloAlf
Copy link
Copy Markdown
Contributor

I fixed the merge issues and applied my own suggestion.
I also added docs and a test.

@AngheloAlf AngheloAlf merged commit 43b3dcb into decompals:main Apr 20, 2026
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