[][src]Struct object::read::pe::PeFile

pub struct PeFile<'data, Pe: ImageNtHeaders> { /* fields omitted */ }

A PE object file.

Implementations

impl<'data, Pe: ImageNtHeaders> PeFile<'data, Pe>[src]

pub fn optional_header_magic(data: &'data [u8]) -> Result<u16>[src]

Find the optional header and read the optional_header.magic.

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

Parse the raw PE file data.

Trait Implementations

impl<'data, Pe: Debug + ImageNtHeaders> Debug for PeFile<'data, Pe>[src]

impl<'data, 'file, Pe> Object<'data, 'file> for PeFile<'data, Pe> where
    'data: 'file,
    Pe: ImageNtHeaders
[src]

type Segment = PeSegment<'data, 'file, Pe>

A segment in the object file.

type SegmentIterator = PeSegmentIterator<'data, 'file, Pe>

An iterator over the segments in the object file.

type Section = PeSection<'data, 'file, Pe>

A section in the object file.

type SectionIterator = PeSectionIterator<'data, 'file, Pe>

An iterator over the sections in the object file.

type SymbolIterator = CoffSymbolIterator<'data, 'file>

An iterator over the symbols in the object file.

Auto Trait Implementations

impl<'data, Pe> Send for PeFile<'data, Pe> where
    Pe: Sync

impl<'data, Pe> Sync for PeFile<'data, Pe> where
    Pe: Sync

impl<'data, Pe> Unpin for PeFile<'data, Pe>

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.