Skip to content

Accurately get OverlayAddress for UPX-compressed executables#67

Open
HeroponRikiBestest wants to merge 2 commits intoSabreTools:mainfrom
HeroponRikiBestest:upx-overlay-address
Open

Accurately get OverlayAddress for UPX-compressed executables#67
HeroponRikiBestest wants to merge 2 commits intoSabreTools:mainfrom
HeroponRikiBestest:upx-overlay-address

Conversation

@HeroponRikiBestest
Copy link
Contributor

For UPX-packed executables, OptionalHeader.SizeOfHeaders is consistently 4096 and wrong, wheras PointerToRawData is consistently 1024 and correct. This PR gets the proper size for UPX-compressed executables, since it's needed for most SFX executables.

… for benefit of extractions that need an accurate overlay address.
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