Struct lief::pdb::CompilationUnit
pub struct CompilationUnit<'a> { /* private fields */ }
Expand description
This structure represents a CompilationUnit (or Module) in a PDB file
Implementations§
§impl CompilationUnit<'_>
impl CompilationUnit<'_>
pub fn module_name(&self) -> String
pub fn module_name(&self) -> String
Name (or path) to the COFF object (.obj
) associated with this
compilation unit (e.g. e:\obj.amd64fre\minkernel\ntos\hvl\mp\objfre\amd64\hvlp.obj
)
pub fn object_filename(&self) -> String
pub fn object_filename(&self) -> String
Name of path to the original binary object (COFF, Archive) in which
the compilation unit was located before being linked.
e.g. e:\obj.amd64fre\minkernel\ntos\hvl\mp\objfre\amd64\hvl.lib
pub fn functions(&self) -> Functions<'_> ⓘ
pub fn functions(&self) -> Functions<'_> ⓘ
Return an iterator over the crate::pdb::Function
defined in this compilation unit.
If the PDB does not contain or has an empty DBI stream, it returns
an empty iterator.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CompilationUnit<'a>
impl<'a> !Send for CompilationUnit<'a>
impl<'a> !Sync for CompilationUnit<'a>
impl<'a> Unpin for CompilationUnit<'a>
impl<'a> UnwindSafe for CompilationUnit<'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