Unpack an Win32/64-PE?


i want to extract some files from an windows-pe-file (icons and so on). How can i use crates like pelite or others (when you know easier wrapper over the winapi please tell me:) to extract some files.

An unpacking library for rust that can handle this pe-files will be the easiest way.

At the moment i use 7zip.


At the moment i use the binary 7z.exe for extract rsrc/ICON/* to an temp file. Also not the most elegant way but many programs do it like that. Many roads lead to rome :slight_smile:.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.