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

Fix REL section loading #81

Merged
merged 1 commit into from
Jun 15, 2024
Merged

Fix REL section loading #81

merged 1 commit into from
Jun 15, 2024

Conversation

vabold
Copy link
Contributor

@vabold vabold commented Jan 1, 2024

As a consequence of this, the initial memory address now refers to the start of the REL header, not the start of the first section.

The address of the BSS section can now be manually specified to match the expectation of OSLink.

Credit to Seeky for writing the initial patch for Ghidra 10.1.

@vabold vabold force-pushed the rel-offset branch 2 times, most recently from 97995b4 to 9fd1a4f Compare June 14, 2024 16:25
@Cuyler36 Cuyler36 merged commit 6c3cf23 into Cuyler36:master Jun 15, 2024
1 check passed
@Cuyler36
Copy link
Owner

It might be worth it to revisit this in the future to add a toggle option on whether to include the REL headers. Additionally, it might be nice to mark the header sections 'RelocatableModuleHeader_ZZZ' or something alike.

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