Struct object::MachOFile[][src]

pub struct MachOFile<'data> { /* fields omitted */ }

A Mach-O object file.

Methods

impl<'data> MachOFile<'data>
[src]

Get the Mach-O headers of the file.

Parse the raw Mach-O file data.

Trait Implementations

impl<'data> Debug for MachOFile<'data>
[src]

Formats the value using the given formatter. Read more

impl<'data, 'file> Object<'data, 'file> for MachOFile<'data> where
    'data: 'file, 
[src]

A segment in the object file.

An iterator over the segments in the object file.

A section in the object file.

An iterator over the sections in the object file.

An iterator over the symbols in the object file.

Get the machine type of the file.

Important traits for MachOSegmentIterator<'data, 'file>

Get an iterator over the segments in the file.

Get the contents of the section named section_name, if such a section exists. Read more

Important traits for MachOSectionIterator<'data, 'file>

Get an iterator over the sections in the file.

Important traits for MachOSymbolIterator<'data>

Get an iterator over the debugging symbols in the file.

Important traits for MachOSymbolIterator<'data>

Get an iterator over the dynamic linking symbols in the file.

Construct a map from addresses to symbols.

Return true if the file is little endian, false if it is big endian.

Return true if the file contains debug information sections, false if not.

The UUID from a Mach-O LC_UUID load command.

Get the entry point address of the binary

The build ID from an ELF NT_GNU_BUILD_ID note.

The filename and CRC from a .gnu_debuglink section.

Auto Trait Implementations

impl<'data> Send for MachOFile<'data>

impl<'data> Sync for MachOFile<'data>