object crate provides a unified interface to working with object files
across platforms. It supports reading object files and executable files,
and writing object files.
The read::Object trait defines the unified interace. This trait is implemented by read::File, which allows reading any file format, as well as implementations for each file format: ELF, Mach-O, COFF, PE, Wasm.
In addition to the unified read API, the various
read modules define helpers that
operate on the raw structs. These also provide traits that abstract over the differences
between 32-bit and 64-bit versions of the file format.
write::Object allows building an object and then writing it out.
Types for compile-time and run-time endianness.
Tools for converting file format structures to and from bytes.
Interface for reading object files.
Interface for writing object files.
The size of an address value for an architecture.
A CPU architecture.
A binary file format.
The selection kind for a COMDAT section group.
File flags that are specific to each file format.
Information about how the result of the relocation operation is encoded in the place.
The operation used to calculate the result of the relocation.
Section flags that are specific to each file format.
The kind of a section.
Symbol flags that are specific to each file format.
The kind of a symbol.
A symbol scope.