Struct microsoft_dia::bindings::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<P0, P1>( &self, parent: P0, symtag: SymTag, name: P1, compareflags: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<PCWSTR>,
pub unsafe fn findChildrenEx<P0, P1>( &self, parent: P0, symtag: SymTag, name: P1, compareflags: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<PCWSTR>,
pub unsafe fn findChildrenExByAddr<P0, P1>( &self, parent: P0, symtag: SymTag, name: P1, compareflags: u32, isect: u32, offset: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<PCWSTR>,
pub unsafe fn findChildrenExByVA<P0, P1>( &self, parent: P0, symtag: SymTag, name: P1, compareflags: u32, va: u64 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<PCWSTR>,
pub unsafe fn findChildrenExByRVA<P0, P1>( &self, parent: P0, symtag: SymTag, name: P1, compareflags: u32, rva: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<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<P0, P1>( &self, symbola: P0, symbolb: P1 ) -> Result<()>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<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<P0, P1>( &self, pcompiland: P0, name: P1, compareflags: u32 ) -> Result<IDiaEnumSourceFiles>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<PCWSTR>,
pub unsafe fn findFileById(&self, uniqueid: u32) -> Result<IDiaSourceFile>
pub unsafe fn findLines<P0, P1>( &self, compiland: P0, file: P1 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<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<P0, P1>( &self, compiland: P0, file: P1, linenum: u32, column: u32 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<IDiaSourceFile>,
pub unsafe fn findInjectedSource<P0>( &self, srcfile: P0 ) -> Result<IDiaEnumInjectedSources>where P0: IntoParam<PCWSTR>,
pub unsafe fn getEnumDebugStreams(&self) -> Result<IDiaEnumDebugStreams>
pub unsafe fn findInlineFramesByAddr<P0>( &self, parent: P0, isect: u32, offset: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineFramesByRVA<P0>( &self, parent: P0, rva: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineFramesByVA<P0>( &self, parent: P0, va: u64 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineeLines<P0>( &self, parent: P0 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineeLinesByAddr<P0>( &self, parent: P0, isect: u32, offset: u32, length: u32 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineeLinesByRVA<P0>( &self, parent: P0, rva: u32, length: u32 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineeLinesByVA<P0>( &self, parent: P0, va: u64, length: u32 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findInlineeLinesByLinenum<P0, P1>( &self, compiland: P0, file: P1, linenum: u32, column: u32 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<IDiaSourceFile>,
pub unsafe fn findInlineesByName<P0>( &self, name: P0, option: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<PCWSTR>,
pub unsafe fn findAcceleratorInlineeLinesByLinenum<P0, P1>( &self, parent: P0, file: P1, linenum: u32, column: u32 ) -> Result<IDiaEnumLineNumbers>where P0: IntoParam<IDiaSymbol>, P1: IntoParam<IDiaSourceFile>,
pub unsafe fn findSymbolsForAcceleratorPointerTag<P0>( &self, parent: P0, tagvalue: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag<P0>( &self, parent: P0, tagvalue: u32, rva: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<IDiaSymbol>,
pub unsafe fn findAcceleratorInlineesByName<P0>( &self, name: P0, option: u32 ) -> Result<IDiaEnumSymbols>where P0: IntoParam<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<P0>( &self, psymbol: P0 ) -> Result<IDiaInputAssemblyFile>where P0: IntoParam<IDiaSymbol>,
Trait Implementations§
§impl Clone for IDiaSession
impl Clone for IDiaSession
§impl ComInterface for IDiaSession
impl ComInterface for IDiaSession
§impl Debug for IDiaSession
impl Debug for IDiaSession
§impl Interface for IDiaSession
impl Interface for IDiaSession
type Vtable = IDiaSession_Vtbl
source§fn 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.source§fn 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 PartialEq<IDiaSession> for IDiaSession
impl PartialEq<IDiaSession> for IDiaSession
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§
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