Struct microsoft_dia::IDiaSession
[−]#[repr(transparent)]pub struct IDiaSession(_);Implementations
impl IDiaSession
impl IDiaSession
pub unsafe fn loadAddress(&self) -> Result<u64>
pub unsafe fn SetloadAddress(&self, newval: u64) -> Result<()>
pub unsafe fn globalScope(&self) -> Result<IDiaSymbol>
pub unsafe fn getEnumTables(&self) -> Result<IDiaEnumTables>
pub unsafe fn getSymbolsByAddr(&self) -> Result<IDiaEnumSymbolsByAddr>
pub unsafe fn findChildren<'a, P0, P1>(
&self,
parent: P0,
symtag: SymTag,
name: P1,
compareflags: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<PCWSTR>,
pub unsafe fn findChildrenEx<'a, P0, P1>(
&self,
parent: P0,
symtag: SymTag,
name: P1,
compareflags: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<PCWSTR>,
pub unsafe fn findChildrenExByAddr<'a, P0, P1>(
&self,
parent: P0,
symtag: SymTag,
name: P1,
compareflags: u32,
isect: u32,
offset: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<PCWSTR>,
pub unsafe fn findChildrenExByVA<'a, P0, P1>(
&self,
parent: P0,
symtag: SymTag,
name: P1,
compareflags: u32,
va: u64
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<PCWSTR>,
pub unsafe fn findChildrenExByRVA<'a, P0, P1>(
&self,
parent: P0,
symtag: SymTag,
name: P1,
compareflags: u32,
rva: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<PCWSTR>,
pub unsafe fn findSymbolByAddr(
&self,
isect: u32,
offset: u32,
symtag: SymTag
) -> Result<IDiaSymbol>
pub unsafe fn findSymbolByRVA(
&self,
rva: u32,
symtag: SymTag
) -> Result<IDiaSymbol>
pub unsafe fn findSymbolByVA(&self, va: u64, symtag: SymTag) -> Result<IDiaSymbol>
pub unsafe fn findSymbolByToken(
&self,
token: u32,
symtag: SymTag
) -> Result<IDiaSymbol>
pub unsafe fn symsAreEquiv<'a, P0, P1>(
&self,
symbola: P0,
symbolb: P1
) -> Result<()>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn symbolById(&self, id: u32) -> Result<IDiaSymbol>
pub unsafe fn findSymbolByRVAEx(
&self,
rva: u32,
symtag: SymTag,
ppsymbol: *mut Option<IDiaSymbol>,
displacement: *mut i32
) -> Result<()>
pub unsafe fn findSymbolByVAEx(
&self,
va: u64,
symtag: SymTag,
ppsymbol: *mut Option<IDiaSymbol>,
displacement: *mut i32
) -> Result<()>
pub unsafe fn findFile<'a, P0, P1>(
&self,
pcompiland: P0,
name: P1,
compareflags: u32
) -> Result<IDiaEnumSourceFiles>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<PCWSTR>,
pub unsafe fn findFileById(&self, uniqueid: u32) -> Result<IDiaSourceFile>
pub unsafe fn findLines<'a, P0, P1>(
&self,
compiland: P0,
file: P1
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<InParam<'a, IDiaSourceFile>>,
pub unsafe fn findLinesByAddr(
&self,
seg: u32,
offset: u32,
length: u32
) -> Result<IDiaEnumLineNumbers>
pub unsafe fn findLinesByRVA(
&self,
rva: u32,
length: u32
) -> Result<IDiaEnumLineNumbers>
pub unsafe fn findLinesByVA(
&self,
va: u64,
length: u32
) -> Result<IDiaEnumLineNumbers>
pub unsafe fn findLinesByLinenum<'a, P0, P1>(
&self,
compiland: P0,
file: P1,
linenum: u32,
column: u32
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<InParam<'a, IDiaSourceFile>>,
pub unsafe fn findInjectedSource<'a, P0>(
&self,
srcfile: P0
) -> Result<IDiaEnumInjectedSources>where
P0: Into<PCWSTR>,
pub unsafe fn getEnumDebugStreams(&self) -> Result<IDiaEnumDebugStreams>
pub unsafe fn findInlineFramesByAddr<'a, P0>(
&self,
parent: P0,
isect: u32,
offset: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineFramesByRVA<'a, P0>(
&self,
parent: P0,
rva: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineFramesByVA<'a, P0>(
&self,
parent: P0,
va: u64
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineeLines<'a, P0>(
&self,
parent: P0
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineeLinesByAddr<'a, P0>(
&self,
parent: P0,
isect: u32,
offset: u32,
length: u32
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineeLinesByRVA<'a, P0>(
&self,
parent: P0,
rva: u32,
length: u32
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineeLinesByVA<'a, P0>(
&self,
parent: P0,
va: u64,
length: u32
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findInlineeLinesByLinenum<'a, P0, P1>(
&self,
compiland: P0,
file: P1,
linenum: u32,
column: u32
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<InParam<'a, IDiaSourceFile>>,
pub unsafe fn findInlineesByName<'a, P0>(
&self,
name: P0,
option: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<PCWSTR>,
pub unsafe fn findAcceleratorInlineeLinesByLinenum<'a, P0, P1>(
&self,
parent: P0,
file: P1,
linenum: u32,
column: u32
) -> Result<IDiaEnumLineNumbers>where
P0: Into<InParam<'a, IDiaSymbol>>,
P1: Into<InParam<'a, IDiaSourceFile>>,
pub unsafe fn findSymbolsForAcceleratorPointerTag<'a, P0>(
&self,
parent: P0,
tagvalue: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag<'a, P0>(
&self,
parent: P0,
tagvalue: u32,
rva: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<InParam<'a, IDiaSymbol>>,
pub unsafe fn findAcceleratorInlineesByName<'a, P0>(
&self,
name: P0,
option: u32
) -> Result<IDiaEnumSymbols>where
P0: Into<PCWSTR>,
pub unsafe fn addressForVA(
&self,
va: u64,
pisect: *mut u32,
poffset: *mut u32
) -> Result<()>
pub unsafe fn addressForRVA(
&self,
rva: u32,
pisect: *mut u32,
poffset: *mut u32
) -> Result<()>
pub unsafe fn findILOffsetsByAddr(
&self,
isect: u32,
offset: u32,
length: u32
) -> Result<IDiaEnumLineNumbers>
pub unsafe fn findILOffsetsByRVA(
&self,
rva: u32,
length: u32
) -> Result<IDiaEnumLineNumbers>
pub unsafe fn findILOffsetsByVA(
&self,
va: u64,
length: u32
) -> Result<IDiaEnumLineNumbers>
pub unsafe fn findInputAssemblyFiles(
&self
) -> Result<IDiaEnumInputAssemblyFiles>
pub unsafe fn findInputAssembly(
&self,
index: u32
) -> Result<IDiaInputAssemblyFile>
pub unsafe fn findInputAssemblyById(
&self,
uniqueid: u32
) -> Result<IDiaInputAssemblyFile>
pub unsafe fn getFuncMDTokenMapSize(&self) -> Result<u32>
pub unsafe fn getFuncMDTokenMap(&self, pcb: *mut u32, pb: &mut [u8]) -> Result<()>
pub unsafe fn getTypeMDTokenMapSize(&self) -> Result<u32>
pub unsafe fn getTypeMDTokenMap(&self, pcb: *mut u32, pb: &mut [u8]) -> Result<()>
pub unsafe fn getNumberOfFunctionFragments_VA(
&self,
vafunc: u64,
cbfunc: u32
) -> Result<u32>
pub unsafe fn getNumberOfFunctionFragments_RVA(
&self,
rvafunc: u32,
cbfunc: u32
) -> Result<u32>
pub unsafe fn getFunctionFragments_VA(
&self,
vafunc: u64,
cbfunc: u32,
cfragments: u32,
pvafragment: *mut u64,
plenfragment: *mut u32
) -> Result<()>
pub unsafe fn getFunctionFragments_RVA(
&self,
rvafunc: u32,
cbfunc: u32,
cfragments: u32,
prvafragment: *mut u32,
plenfragment: *mut u32
) -> Result<()>
pub unsafe fn getExports(&self) -> Result<IDiaEnumSymbols>
pub unsafe fn getHeapAllocationSites(&self) -> Result<IDiaEnumSymbols>
pub unsafe fn findInputAssemblyFile<'a, P0>(
&self,
psymbol: P0
) -> Result<IDiaInputAssemblyFile>where
P0: Into<InParam<'a, IDiaSymbol>>,
Trait Implementations
impl Clone for IDiaSession
impl Clone for IDiaSession
impl Debug for IDiaSession
impl Debug for IDiaSession
impl<'a> From<&'a IDiaSession> for &'a IUnknown
impl<'a> From<&'a IDiaSession> for &'a IUnknown
fn from(value: &'a IDiaSession) -> Self
fn from(value: &'a IDiaSession) -> Self
Converts to this type from the input type.
impl From<&IDiaSession> for IUnknown
impl From<&IDiaSession> for IUnknown
fn from(value: &IDiaSession) -> Self
fn from(value: &IDiaSession) -> Self
Converts to this type from the input type.
impl From<IDiaSession> for IUnknown
impl From<IDiaSession> for IUnknown
fn from(value: IDiaSession) -> Self
fn from(value: IDiaSession) -> Self
Converts to this type from the input type.
impl Interface for IDiaSession
impl Interface for IDiaSession
impl PartialEq<IDiaSession> for IDiaSession
impl PartialEq<IDiaSession> for IDiaSession
impl Vtable for IDiaSession
impl Vtable for IDiaSession
type Vtable = IDiaSession_Vtbl
sourcefn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.sourcefn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
impl Eq for IDiaSession
Auto Trait Implementations
impl RefUnwindSafe for IDiaSession
impl !Send for IDiaSession
impl !Sync for IDiaSession
impl Unpin for IDiaSession
impl UnwindSafe for IDiaSession
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more