pub struct CoffFile<'data, R: ReadRef<'data> = &'data [u8]> { /* private fields */ }
Expand description

A COFF object file.

Implementations

Parse the raw COFF 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.

A COMDAT section group in the object file.

An iterator over the COMDAT section groups in the object file.

A symbol in the object file.

An iterator over symbols in the object file.

A symbol table in the object file.

An iterator over dynamic relocations in the file. Read more

Get the architecture type of the file.

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

Return true if the file can contain 64-bit addresses.

Return the kind of this object.

Get an iterator over the segments in the file.

Like Self::section_by_name, but allows names that are not UTF-8.

Get the section at the given index. Read more

Get an iterator over the sections in the file.

Get an iterator over the COMDAT section groups 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 the symbol table, if any.

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

Get the dynamic linking symbol table, if any. Read more

Get the dynamic relocations for this file. Read more

Get the imported symbols.

Get the exported symbols that expose both a name and an address. Read more

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

Get the base address used for relative virtual addresses. Read more

Get the virtual address of the entry point of the binary

File flags that are specific to each file format.

Get the endianness of the file.

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

Construct a map from addresses to symbol names. Read more

Construct a map from addresses to symbol names and object file names. Read more

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.

The filename and build ID from a .gnu_debugaltlink section.

The filename and GUID from the PE CodeView 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

Performs the conversion.

Performs the conversion.

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.