Struct goblin::pe::PE [] [src]

pub struct PE<'a> {
    pub header: Header,
    pub sections: Vec<SectionTable>,
    pub size: usize,
    pub name: Option<&'a str>,
    pub is_lib: bool,
    pub is_64: bool,
    pub entry: usize,
    pub image_base: usize,
    pub export_data: Option<ExportData<'a>>,
    pub import_data: Option<ImportData<'a>>,
    pub exports: Vec<Export<'a>>,
    pub imports: Vec<Import<'a>>,
    pub libraries: Vec<&'a str>,
    pub debug_data: Option<DebugData<'a>>,
}

An analyzed PE32/PE32+ binary

Fields

The PE header

A list of the sections in this PE binary

The size of the binary

The name of this dll, if it has one

Whether this is a dll or not

Whether the binary is 64-bit (PE32+)

the entry point of the binary

The binary's RVA, or image base - useful for computing virtual addreses

Data about any exported symbols in this binary (e.g., if it's a dll)

Data for any imported symbols, and from which dll, etc., in this binary

The list of exported symbols in this binary, contains synthetic information for easier analysis

The list symbols imported by this binary from other dlls

The list of libraries which this binary imports symbols from

Debug information, if any, contained in the PE header

Methods

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

[src]

Reads a PE binary from the underlying bytes

Trait Implementations

impl<'a> Debug for PE<'a>
[src]

[src]

Formats the value using the given formatter.