Expand description
Interface for writing object files.
This module provides a unified write API for relocatable object files
using Object
. This does not support writing executable files.
This supports the following file formats: COFF, ELF, Mach-O, and XCOFF.
The submodules define helpers for writing the raw structs. These support writing both relocatable and executable files. There are writers for the following file formats: COFF, ELF, and PE.
Re-exports§
pub use coff::CoffExportStyle;
Modules§
- Support for writing COFF files.
- Support for writing ELF files.
- Helper for writing PE files.
Structs§
- A COMDAT section group.
- An identifier used to reference a COMDAT section group.
- The error type used within the write module.
- The customizable portion of a
macho::BuildVersionCommand
. - A writable relocatable object file.
- A relocation in an object file.
- A section in an object file.
- An identifier used to reference a section.
- A
WritableBuffer
that streams data to aWrite
implementation. - An identifier for an entry in a string table.
- A symbol in an object file.
- An identifier used to reference a symbol.
Enums§
- 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.
- The symbol name mangling scheme.
- Information about how the result of the relocation operation is encoded in the place.
- Relocation fields that are specific to each file format and architecture.
- The operation used to calculate the result of the relocation.
- Section flags that are specific to each file format.
- The kind of a section.
- Segment flags that are specific to each file format.
- A standard section kind.
- A standard segment kind.
- A CPU sub-architecture.
- Symbol flags that are specific to each file format.
- The kind of a symbol.
- A symbol scope.
- The section where a symbol is defined.
Traits§
- Trait for writable buffer.
Type Aliases§
- The result type used within the write module.