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

unpacker/mpress: Properly copy non-packer related sections to the unpacked file #913

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

metthal
Copy link
Member

@metthal metthal commented Jan 7, 2021

After the commit 60ea783, we've had MPRESS unpacker bugged. Specifically the part which copied sections from packed PE into unpacked PE, which were not modified by packing process at all. This resulted in files unpacked by our retdec-unpacker to miss things like exports, resources and other things which are usually placed in their own sections (apart from imports which were properly reconstructed and unpacked code).

@metthal
Copy link
Member Author

metthal commented Jan 7, 2021

Lets run TC tests.

@metthal metthal merged commit f4da380 into master Jan 8, 2021
@metthal metthal deleted the mpress-resources branch January 8, 2021 00:38
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.

1 participant