[−][src]Struct pdb::DebugInformation
Provides access to the "DBI" stream inside the PDB.
This is only minimally implemented; it's really just so PDB
can find the global symbol table.
Example
let file = std::fs::File::open("fixtures/self/foo.pdb")?; let mut pdb = pdb::PDB::open(file)?; let dbi = pdb.debug_information()?; let mut modules = dbi.modules()?; while let Some(module) = modules.next()? { println!("module name: {}, object file name: {}", module.module_name(), module.object_file_name()); }
Methods
impl<'s> DebugInformation<'s>
[src]
pub fn machine_type(&self) -> Result<MachineType>
[src]
Returns the target's machine type (architecture).
pub fn modules(&self) -> Result<ModuleIter>
[src]
Returns an iterator that can traverse the modules list in sequential order.
Trait Implementations
Auto Trait Implementations
impl<'s> !Send for DebugInformation<'s>
impl<'s> !Sync for DebugInformation<'s>
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,