Skip to content

Fixes section boundary check for offsets - #16

Merged
dledda-r7 merged 1 commit into
rapid7:masterfrom
msutovsky-r7:fix/section_offset
Aug 14, 2026
Merged

Fixes section boundary check for offsets #16
dledda-r7 merged 1 commit into
rapid7:masterfrom
msutovsky-r7:fix/section_offset

Conversation

@msutovsky-r7

Copy link
Copy Markdown
Contributor

The Section#size returns _isource.size, which reflects SizeOfRawData — sections such as .bss always has SizeOfRawData = 0. So .bss can never satisfy contains_rva?, even for RVAs that legitimately belong to it. This PR addresses that fix.

@dledda-r7
dledda-r7 merged commit 68227f6 into rapid7:master Aug 14, 2026
20 checks passed
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