gimli-rs / object

A unified interface for reading and writing object file formats
https://docs.rs/object/
Apache License 2.0
673 stars 157 forks source link

Add PE to the unified api #671

Closed Cr0a3 closed 7 months ago

Cr0a3 commented 7 months ago

Maybe you can add that you can use the file format pe in the unified api like coff.

Bye

bjorn3 commented 7 months ago

The unified api is for writing relocatable object files, not executables and dynamic libraries. AFAIK PE only exists for executables and dynamic libraries. PE is COFF + a stub executable by MSDOS, which relocatable object files don't need as they will never be executed.

Cr0a3 commented 7 months ago

Ok