Struct object::File[][src]

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

An object file.

Methods

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

Parse the raw file data.

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<'data, 'file> Object<'data, 'file> for File<'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 SegmentIterator<'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 SectionIterator<'data, 'file>

Get an iterator over the sections in the file.

Important traits for SymbolIterator<'data, 'file>

Get an iterator over the debugging symbols in the file.

Important traits for SymbolIterator<'data, 'file>

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.

The build ID from an ELF NT_GNU_BUILD_ID note.

The filename and CRC from a .gnu_debuglink section.

Get the entry point address of the binary

Auto Trait Implementations

impl<'data> Send for File<'data>

impl<'data> Sync for File<'data>