pub struct SymbolTable<'a> { /* private fields */ }
Expand description

A COFF symbol table.

Implementations

Parse a COFF symbol table at the given offset.

The offset and number of symbols should be from the COFF header.

Get the size in bytes of the symbol table.

Get the symbol at the given index.

If the symbol has an inline name, then also returns a reference to the name’s location in bytes.

Get the auxiliary symbol record for a function definition.

Get the auxiliary symbol record for a .bf or .ef symbol record.

Get the auxiliary symbol record for a weak external.

Get the file name from the auxiliary symbol record for a file symbol record.

Get the auxiliary symbol record for a section definition.

Return an iterator for the COFF symbols.

This iterator skips over auxiliary symbol records.

Trait Implementations

Formats the value using the given formatter. Read more

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.