#[repr(transparent)]
pub struct IDiaSession(_);

Implementations§

§

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

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl ComInterface for IDiaSession

§

const IID: GUID = _

A unique identifier representing this interface.
source§

fn cast<T>(&self) -> Result<T, Error>where T: ComInterface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
source§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
§

impl Debug for IDiaSession

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Interface for IDiaSession

§

type Vtable = IDiaSession_Vtbl

source§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
source§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

impl PartialEq<IDiaSession> for IDiaSession

§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for IDiaSession

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.