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

export patched binary Windows/PE with added section #5226

Closed
haai opened this issue Apr 15, 2023 · 1 comment
Closed

export patched binary Windows/PE with added section #5226

haai opened this issue Apr 15, 2023 · 1 comment
Assignees
Labels
Feature: Exporter Type: Question Further information is requested

Comments

@haai
Copy link

haai commented Apr 15, 2023

I have a binary in PE format with a new section containing a patch added to the memory map.
When I export the binary to PE format again the patch section is not available in the exported binary.
Is this not supported or is this there some configuration missing?

@ryanmkurtz
Copy link
Collaborator

ryanmkurtz commented Apr 17, 2023

This is the release note for that feature:

Exporter. For programs imported with the PE and ELF loaders, new exporters are available that write back to the original file layout. Any file-backed bytes that were modified by the user in the program database will be reflected in the written file (except on relocations). Writing back a modified Memory Map is not supported. (GP-786, Issue #1501, #1505, #19)

If you have added a new section, you likely added a memory block. The export will not work with this. We have no plans to support this.

@ryanmkurtz ryanmkurtz added the Type: Question Further information is requested label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Exporter Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants