Struct object::MachOFile

source ·
pub struct MachOFile<'data> { /* private fields */ }
Expand description

A Mach-O object file.

Implementations§

Get the Mach-O headers of the file.

Parse the raw Mach-O file data.

Trait Implementations§

Formats the value using the given formatter. Read more
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.
Get an iterator over the segments in the file.
Get the section named section_name, if such a section exists. Read more
Get an iterator over the sections in the file.
Get the debugging symbol at the given index. Read more
Get an iterator over the debugging symbols in the file. Read more
Get an iterator over the dynamic linking symbols in the file. Read more
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
Get the contents of the section named section_name, if such a section exists. Read more
The build ID from an ELF NT_GNU_BUILD_ID note.
The filename and CRC from a .gnu_debuglink section.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.