Skip to content

Parse relocation directories starting inside a section - #231

Open
astunm wants to merge 1 commit into
trailofbits:masterfrom
astunm:fix/relocation-directory-offset
Open

astunm wants to merge 1 commit into
trailofbits:masterfrom
astunm:fix/relocation-directory-offset

Conversation

@astunm

@astunm astunm commented Nov 11, 2026

Copy link
Copy Markdown

Relocation parsing compared a section-relative offset with the directory size, skipping tables placed later in a section. Include the starting offset in the loop bound and test two relocation blocks at both zero and nonzero offsets.

Tests: regression fails before the fix; all 16 tests pass afterward, including the Corkami dataset. dump-pe smoke test passes.

@CLAassistant

CLAassistant commented Nov 11, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

This branch has not been deployed

No deployments
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