Overview of the `object` crate
mainThe object crate provides a unified interface for working with object files across multiple platforms. It supports reading relocatable object files and executables, as well as writing various formats.
Supported Formats for Reading
- ELF
- Mach-O
- Windows PE/COFF
- Wasm
- XCOFF
- Unix archive
Supported Formats for Writing
- Relocatable Object Files: ELF, Mach-O, COFF, XCOFF (via a unified API)
- Executables: ELF, PE
- Low-level writers: ELF, PE, and COFF
- High-level builder: ELF (available in the
rewritecrate)