Struct goblin::pe::Coff[][src]

pub struct Coff<'a> {
    pub header: CoffHeader,
    pub sections: Vec<SectionTable>,
    pub symbols: SymbolTable<'a>,
    pub strings: Strtab<'a>,
}
[]

An analyzed COFF object

Fields

header: CoffHeader
[]

The COFF header

sections: Vec<SectionTable>
[]

A list of the sections in this COFF binary

symbols: SymbolTable<'a>
[]

The COFF symbol table.

strings: Strtab<'a>
[]

The string table.

Implementations

impl<'a> Coff<'a>[src][]

pub fn parse(bytes: &'a [u8]) -> Result<Self>[src][]

Reads a COFF object from the underlying bytes

Trait Implementations

impl<'a> Debug for Coff<'a>[src][+]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Coff<'a>

impl<'a> Send for Coff<'a>

impl<'a> Sync for Coff<'a>

impl<'a> Unpin for Coff<'a>

impl<'a> UnwindSafe for Coff<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.