Module object::read::macho[][src]

Expand description

Support for reading Mach-O files.

Defines traits to abstract over the difference between 32-bit and 64-bit Mach-O files, and implements read functionality in terms of these traits.

Also provides MachOFile and related types which implement the Object trait.

Re-exports

pub use macho::FatArch32;
pub use macho::FatArch64;
pub use macho::FatHeader;

Structs

DyldCache

A parsed representation of the dyld shared cache.

DyldCacheImage

One image (dylib) from inside the dyld shared cache.

DyldCacheImageIterator

An iterator over all the images (dylibs) in the dyld shared cache.

LoadCommandData

The data for a LoadCommand.

LoadCommandIterator

An iterator over the load commands of a MachHeader.

MachOComdat

A COMDAT section group of a MachOFile.

MachOComdatIterator

An iterator over the COMDAT section groups of a MachOFile.

MachOComdatSectionIterator

An iterator over the sections in a COMDAT section group of a MachOFile.

MachOFile

A partially parsed Mach-O file.

MachORelocationIterator

An iterator over the relocations in a MachOSection.

MachOSection

A section of a MachOFile.

MachOSectionIterator

An iterator over the sections of a MachOFile.

MachOSegment

A segment of a MachOFile.

MachOSegmentIterator

An iterator over the segments of a MachOFile.

MachOSymbol

A symbol of a MachOFile.

MachOSymbolIterator

An iterator over the symbols of a MachOFile.

MachOSymbolTable

A symbol table of a MachOFile.

SymbolTable

A table of symbol entries in a Mach-O file.

Enums

LoadCommandVariant

A LoadCommand that has been interpreted according to its cmd field.

Traits

FatArch

A trait for generic access to FatArch32 and FatArch64.

MachHeader

A trait for generic access to MachHeader32 and MachHeader64.

Nlist

A trait for generic access to Nlist32 and Nlist64.

Section

A trait for generic access to Section32 and Section64.

Segment

A trait for generic access to SegmentCommand32 and SegmentCommand64.

Type Definitions

MachOComdat32

A COMDAT section group of a MachOFile32.

MachOComdat64

A COMDAT section group of a MachOFile64.

MachOComdatIterator32

An iterator over the COMDAT section groups of a MachOFile64.

MachOComdatIterator64

An iterator over the COMDAT section groups of a MachOFile64.

MachOComdatSectionIterator32

An iterator over the sections in a COMDAT section group of a MachOFile32.

MachOComdatSectionIterator64

An iterator over the sections in a COMDAT section group of a MachOFile64.

MachOFile32

A 32-bit Mach-O object file.

MachOFile64

A 64-bit Mach-O object file.

MachORelocationIterator32

An iterator over the relocations in a MachOSection32.

MachORelocationIterator64

An iterator over the relocations in a MachOSection64.

MachOSection32

A section of a MachOFile32.

MachOSection64

A section of a MachOFile64.

MachOSectionIterator32

An iterator over the sections of a MachOFile32.

MachOSectionIterator64

An iterator over the sections of a MachOFile64.

MachOSegment32

A segment of a MachOFile32.

MachOSegment64

A segment of a MachOFile64.

MachOSegmentIterator32

An iterator over the segments of a MachOFile32.

MachOSegmentIterator64

An iterator over the segments of a MachOFile64.

MachOSymbol32

A symbol of a MachOFile32.

MachOSymbol64

A symbol of a MachOFile64.

MachOSymbolIterator32

An iterator over the symbols of a MachOFile32.

MachOSymbolIterator64

An iterator over the symbols of a MachOFile64.

MachOSymbolTable32

An iterator over the symbols of a MachOFile32.

MachOSymbolTable64

An iterator over the symbols of a MachOFile64.