[][src]Struct pelite::pe32::msvc::FuncInfo

#[repr(C)]
pub struct FuncInfo {
    pub magic_number: u32,
    pub max_state: i32,
    pub unwind_map: Ptr,
    pub try_blocks: u32,
    pub try_block_map: Ptr<UnwindMapEntry>,
    pub ip_map_entries: u32,
    pub ip_to_state_map: Ptr,
    pub es_type_list: Ptr<ESTypeList>,
    pub eh_flags: i32,
}

Fully describes all try/catch blocks and unwindable objects in the function.

Fields

magic_number: u32

Compiler version.

  • 0x19930520: up to VC6
  • 0x19930521: VC7.x (2002-2003)
  • 0x19930522: VC8 (2005)
max_state: i32

Number of entries in the unwind table.

unwind_map: Ptr

Table of unwind destructors.

try_blocks: u32

Number of try blocks in the function.

try_block_map: Ptr<UnwindMapEntry>

Mapping of catch blocks to try blocks.

ip_map_entries: u32ip_to_state_map: Ptres_type_list: Ptr<ESTypeList>

VC7+ only, expected exceptions list (function "throw" specifier).

eh_flags: i32

VC8+ only, bit 0 set if function was compiled with /EHs.

Trait Implementations

impl Pod for FuncInfo where
    Self: 'static,
    u32: Pod,
    i32: Pod,
    Ptr: Pod,
    u32: Pod,
    Ptr<UnwindMapEntry>: Pod,
    u32: Pod,
    Ptr: Pod,
    Ptr<ESTypeList>: Pod,
    i32: Pod
[src]

impl Clone for FuncInfo[src]

impl Copy for FuncInfo[src]

impl Debug for FuncInfo[src]

impl Serialize for FuncInfo[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for 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.

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

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

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