Struct lief::pdb::BuildMetadata
pub struct BuildMetadata<'a> { /* private fields */ }
Expand description
This class wraps build metadata represented by the codeview symbols:
S_COMPILE3, S_COMPILE2, S_BUILDINFO
Implementations§
§impl BuildMetadata<'_>
impl BuildMetadata<'_>
pub fn frontend_version(&self) -> Version
pub fn frontend_version(&self) -> Version
Version of the frontend (e.g. 19.36.32537
)
pub fn backend_version(&self) -> Version
pub fn backend_version(&self) -> Version
Version of the backend (e.g. 14.36.32537
)
pub fn version(&self) -> String
pub fn version(&self) -> String
Version of the tool as a string. For instance, Microsoft (R) CVTRES
,
Microsoft (R) LINK
.
pub fn target_cpu(&self) -> Cpu
pub fn target_cpu(&self) -> Cpu
Target CPU
pub fn build_info(&self) -> Option<BuildInfo>
pub fn build_info(&self) -> Option<BuildInfo>
Build information represented by the S_BUILDINFO
symbol
Trait Implementations§
§impl Debug for BuildMetadata<'_>
impl Debug for BuildMetadata<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BuildMetadata<'a>
impl<'a> !Send for BuildMetadata<'a>
impl<'a> !Sync for BuildMetadata<'a>
impl<'a> Unpin for BuildMetadata<'a>
impl<'a> UnwindSafe for BuildMetadata<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more