Enum lief::pe::debug::Entries

pub enum Entries<'a> {
    CodeView(CodeView<'a>),
    CodeViewPDB(CodeViewPDB<'a>),
    Repro(Repro<'a>),
    Pogo(Pogo<'a>),
    Generic(Generic<'a>),
}
Expand description

This enum exposes the different debug entries that can be found in the debug DataDirectory.

Variants§

§

CodeView(CodeView<'a>)

§

CodeViewPDB(CodeViewPDB<'a>)

Entry associated with the IMAGE_DEBUG_TYPE_CODEVIEW

§

Repro(Repro<'a>)

Entry associated with IMAGE_DEBUG_TYPE_REPRO

§

Pogo(Pogo<'a>)

Entry associated with IMAGE_DEBUG_TYPE_POGO

§

Generic(Generic<'a>)

Generic entry for all the other ``IMAGE_DEBUG_xxx`

Trait Implementations§

§

impl<'a> Debug for Entries<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl DebugEntry for Entries<'_>

§

fn characteristics(&self) -> u32

Reserved should be 0
§

fn timestamp(&self) -> u32

The time and date when the debug data was created.
§

fn major_version(&self) -> u16

The major version number of the debug data format.
§

fn minor_version(&self) -> u16

The minor version number of the debug data format.
§

fn get_type(&self) -> Type

The format of the debugging information
§

fn sizeof_data(&self) -> u32

Size of the debug data
§

fn addressof_rawdata(&self) -> u32

Address of the debug data relative to the image base
§

fn pointerto_rawdata(&self) -> u32

File offset of the debug data

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Entries<'a>

§

impl<'a> !Send for Entries<'a>

§

impl<'a> !Sync for Entries<'a>

§

impl<'a> Unpin for Entries<'a>

§

impl<'a> UnwindSafe for Entries<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.