You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I just tried to use this crate.
I parsed an PE from memory into an PE and that seems to work. But how do I write the modified result? Thanks for any help
let poptions = ParseOptions{resolve_rva:false,parse_attribute_certificates:false};letmut pe_mem = goblin::pe::PE::parse_with_opts(memory_data,&poptions)?;for section in&mut pe_mem.sections{
section.pointer_to_raw_data = section.virtual_address;
section.size_of_raw_data = section.virtual_size;}//write the modifications here.}
The text was updated successfully, but these errors were encountered:
writing a PE (or binary file in general) is generally much more involved than reading. However, there is ongoing work to support writing pe in #389 as well as previously merged PRs. https://github.com/RaitoBezarius/ifrit is an example of this. if you need a specific feature that isn't covered, feel free to open another issue with that feature, thanks!
Hello, I just tried to use this crate.
I parsed an PE from memory into an PE and that seems to work. But how do I write the modified result? Thanks for any help
The text was updated successfully, but these errors were encountered: