Struct lief::pe::debug::CodeViewPDB

pub struct CodeViewPDB<'a> { /* private fields */ }
Expand description

CodeView PDB specialization

Implementations§

§

impl CodeViewPDB<'_>

CodeView PDB specialization

pub fn age(&self) -> u32

Age value to verify. The age does not necessarily correspond to any known time value, it is used to determine if a .pdb file is out of sync with a corresponding .exe file.

pub fn filename(&self) -> String

The path to the .pdb file

pub fn guid(&self) -> String

The GUID signature to verify against the .pdb file signature. This attribute might be used to lookup remote PDB file on a symbol server.

pub fn signature(&self) -> [u8; 16]

The 32-bit signature to verify against the .pdb file signature.

Trait Implementations§

§

impl Debug for CodeViewPDB<'_>

§

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

Formats the value using the given formatter. Read more
§

impl DebugEntry for CodeViewPDB<'_>

§

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 CodeViewPDB<'a>

§

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

§

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

§

impl<'a> Unpin for CodeViewPDB<'a>

§

impl<'a> UnwindSafe for CodeViewPDB<'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.