pub trait IDebugSymbols_Impl: Sized {
Show 49 methods // Required methods fn GetSymbolOptions(&self) -> Result<u32>; fn AddSymbolOptions(&self, options: u32) -> Result<()>; fn RemoveSymbolOptions(&self, options: u32) -> Result<()>; fn SetSymbolOptions(&self, options: u32) -> Result<()>; fn GetNameByOffset( &self, offset: u64, namebuffer: PSTR, namebuffersize: u32, namesize: *mut u32, displacement: *mut u64, ) -> Result<()>; fn GetOffsetByName(&self, symbol: &PCSTR) -> Result<u64>; fn GetNearNameByOffset( &self, offset: u64, delta: i32, namebuffer: PSTR, namebuffersize: u32, namesize: *mut u32, displacement: *mut u64, ) -> Result<()>; fn GetLineByOffset( &self, offset: u64, line: *mut u32, filebuffer: PSTR, filebuffersize: u32, filesize: *mut u32, displacement: *mut u64, ) -> Result<()>; fn GetOffsetByLine(&self, line: u32, file: &PCSTR) -> Result<u64>; fn GetNumberModules( &self, loaded: *mut u32, unloaded: *mut u32, ) -> Result<()>; fn GetModuleByIndex(&self, index: u32) -> Result<u64>; fn GetModuleByModuleName( &self, name: &PCSTR, startindex: u32, index: *mut u32, base: *mut u64, ) -> Result<()>; fn GetModuleByOffset( &self, offset: u64, startindex: u32, index: *mut u32, base: *mut u64, ) -> Result<()>; fn GetModuleNames( &self, index: u32, base: u64, imagenamebuffer: PSTR, imagenamebuffersize: u32, imagenamesize: *mut u32, modulenamebuffer: PSTR, modulenamebuffersize: u32, modulenamesize: *mut u32, loadedimagenamebuffer: PSTR, loadedimagenamebuffersize: u32, loadedimagenamesize: *mut u32, ) -> Result<()>; fn GetModuleParameters( &self, count: u32, bases: *const u64, start: u32, params: *mut DEBUG_MODULE_PARAMETERS, ) -> Result<()>; fn GetSymbolModule(&self, symbol: &PCSTR) -> Result<u64>; fn GetTypeName( &self, module: u64, typeid: u32, namebuffer: PSTR, namebuffersize: u32, namesize: *mut u32, ) -> Result<()>; fn GetTypeId(&self, module: u64, name: &PCSTR) -> Result<u32>; fn GetTypeSize(&self, module: u64, typeid: u32) -> Result<u32>; fn GetFieldOffset( &self, module: u64, typeid: u32, field: &PCSTR, ) -> Result<u32>; fn GetSymbolTypeId( &self, symbol: &PCSTR, typeid: *mut u32, module: *mut u64, ) -> Result<()>; fn GetOffsetTypeId( &self, offset: u64, typeid: *mut u32, module: *mut u64, ) -> Result<()>; fn ReadTypedDataVirtual( &self, offset: u64, module: u64, typeid: u32, buffer: *mut c_void, buffersize: u32, bytesread: *mut u32, ) -> Result<()>; fn WriteTypedDataVirtual( &self, offset: u64, module: u64, typeid: u32, buffer: *const c_void, buffersize: u32, byteswritten: *mut u32, ) -> Result<()>; fn OutputTypedDataVirtual( &self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32, ) -> Result<()>; fn ReadTypedDataPhysical( &self, offset: u64, module: u64, typeid: u32, buffer: *mut c_void, buffersize: u32, bytesread: *mut u32, ) -> Result<()>; fn WriteTypedDataPhysical( &self, offset: u64, module: u64, typeid: u32, buffer: *const c_void, buffersize: u32, byteswritten: *mut u32, ) -> Result<()>; fn OutputTypedDataPhysical( &self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32, ) -> Result<()>; fn GetScope( &self, instructionoffset: *mut u64, scopeframe: *mut DEBUG_STACK_FRAME, scopecontext: *mut c_void, scopecontextsize: u32, ) -> Result<()>; fn SetScope( &self, instructionoffset: u64, scopeframe: *const DEBUG_STACK_FRAME, scopecontext: *const c_void, scopecontextsize: u32, ) -> Result<()>; fn ResetScope(&self) -> Result<()>; fn GetScopeSymbolGroup( &self, flags: u32, update: Option<&IDebugSymbolGroup>, ) -> Result<IDebugSymbolGroup>; fn CreateSymbolGroup(&self) -> Result<IDebugSymbolGroup>; fn StartSymbolMatch(&self, pattern: &PCSTR) -> Result<u64>; fn GetNextSymbolMatch( &self, handle: u64, buffer: PSTR, buffersize: u32, matchsize: *mut u32, offset: *mut u64, ) -> Result<()>; fn EndSymbolMatch(&self, handle: u64) -> Result<()>; fn Reload(&self, module: &PCSTR) -> Result<()>; fn GetSymbolPath( &self, buffer: PSTR, buffersize: u32, pathsize: *mut u32, ) -> Result<()>; fn SetSymbolPath(&self, path: &PCSTR) -> Result<()>; fn AppendSymbolPath(&self, addition: &PCSTR) -> Result<()>; fn GetImagePath( &self, buffer: PSTR, buffersize: u32, pathsize: *mut u32, ) -> Result<()>; fn SetImagePath(&self, path: &PCSTR) -> Result<()>; fn AppendImagePath(&self, addition: &PCSTR) -> Result<()>; fn GetSourcePath( &self, buffer: PSTR, buffersize: u32, pathsize: *mut u32, ) -> Result<()>; fn GetSourcePathElement( &self, index: u32, buffer: PSTR, buffersize: u32, elementsize: *mut u32, ) -> Result<()>; fn SetSourcePath(&self, path: &PCSTR) -> Result<()>; fn AppendSourcePath(&self, addition: &PCSTR) -> Result<()>; fn FindSourceFile( &self, startelement: u32, file: &PCSTR, flags: u32, foundelement: *mut u32, buffer: PSTR, buffersize: u32, foundsize: *mut u32, ) -> Result<()>; fn GetSourceFileLineOffsets( &self, file: &PCSTR, buffer: *mut u64, bufferlines: u32, filelines: *mut u32, ) -> Result<()>;
}

Required Methods§

fn GetSymbolOptions(&self) -> Result<u32>

fn AddSymbolOptions(&self, options: u32) -> Result<()>

fn RemoveSymbolOptions(&self, options: u32) -> Result<()>

fn SetSymbolOptions(&self, options: u32) -> Result<()>

fn GetNameByOffset( &self, offset: u64, namebuffer: PSTR, namebuffersize: u32, namesize: *mut u32, displacement: *mut u64, ) -> Result<()>

fn GetOffsetByName(&self, symbol: &PCSTR) -> Result<u64>

fn GetNearNameByOffset( &self, offset: u64, delta: i32, namebuffer: PSTR, namebuffersize: u32, namesize: *mut u32, displacement: *mut u64, ) -> Result<()>

fn GetLineByOffset( &self, offset: u64, line: *mut u32, filebuffer: PSTR, filebuffersize: u32, filesize: *mut u32, displacement: *mut u64, ) -> Result<()>

fn GetOffsetByLine(&self, line: u32, file: &PCSTR) -> Result<u64>

fn GetNumberModules(&self, loaded: *mut u32, unloaded: *mut u32) -> Result<()>

fn GetModuleByIndex(&self, index: u32) -> Result<u64>

fn GetModuleByModuleName( &self, name: &PCSTR, startindex: u32, index: *mut u32, base: *mut u64, ) -> Result<()>

fn GetModuleByOffset( &self, offset: u64, startindex: u32, index: *mut u32, base: *mut u64, ) -> Result<()>

fn GetModuleNames( &self, index: u32, base: u64, imagenamebuffer: PSTR, imagenamebuffersize: u32, imagenamesize: *mut u32, modulenamebuffer: PSTR, modulenamebuffersize: u32, modulenamesize: *mut u32, loadedimagenamebuffer: PSTR, loadedimagenamebuffersize: u32, loadedimagenamesize: *mut u32, ) -> Result<()>

fn GetModuleParameters( &self, count: u32, bases: *const u64, start: u32, params: *mut DEBUG_MODULE_PARAMETERS, ) -> Result<()>

fn GetSymbolModule(&self, symbol: &PCSTR) -> Result<u64>

fn GetTypeName( &self, module: u64, typeid: u32, namebuffer: PSTR, namebuffersize: u32, namesize: *mut u32, ) -> Result<()>

fn GetTypeId(&self, module: u64, name: &PCSTR) -> Result<u32>

fn GetTypeSize(&self, module: u64, typeid: u32) -> Result<u32>

fn GetFieldOffset(&self, module: u64, typeid: u32, field: &PCSTR) -> Result<u32>

fn GetSymbolTypeId( &self, symbol: &PCSTR, typeid: *mut u32, module: *mut u64, ) -> Result<()>

fn GetOffsetTypeId( &self, offset: u64, typeid: *mut u32, module: *mut u64, ) -> Result<()>

fn ReadTypedDataVirtual( &self, offset: u64, module: u64, typeid: u32, buffer: *mut c_void, buffersize: u32, bytesread: *mut u32, ) -> Result<()>

fn WriteTypedDataVirtual( &self, offset: u64, module: u64, typeid: u32, buffer: *const c_void, buffersize: u32, byteswritten: *mut u32, ) -> Result<()>

fn OutputTypedDataVirtual( &self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32, ) -> Result<()>

fn ReadTypedDataPhysical( &self, offset: u64, module: u64, typeid: u32, buffer: *mut c_void, buffersize: u32, bytesread: *mut u32, ) -> Result<()>

fn WriteTypedDataPhysical( &self, offset: u64, module: u64, typeid: u32, buffer: *const c_void, buffersize: u32, byteswritten: *mut u32, ) -> Result<()>

fn OutputTypedDataPhysical( &self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32, ) -> Result<()>

fn GetScope( &self, instructionoffset: *mut u64, scopeframe: *mut DEBUG_STACK_FRAME, scopecontext: *mut c_void, scopecontextsize: u32, ) -> Result<()>

fn SetScope( &self, instructionoffset: u64, scopeframe: *const DEBUG_STACK_FRAME, scopecontext: *const c_void, scopecontextsize: u32, ) -> Result<()>

fn ResetScope(&self) -> Result<()>

fn GetScopeSymbolGroup( &self, flags: u32, update: Option<&IDebugSymbolGroup>, ) -> Result<IDebugSymbolGroup>

fn CreateSymbolGroup(&self) -> Result<IDebugSymbolGroup>

fn StartSymbolMatch(&self, pattern: &PCSTR) -> Result<u64>

fn GetNextSymbolMatch( &self, handle: u64, buffer: PSTR, buffersize: u32, matchsize: *mut u32, offset: *mut u64, ) -> Result<()>

fn EndSymbolMatch(&self, handle: u64) -> Result<()>

fn Reload(&self, module: &PCSTR) -> Result<()>

fn GetSymbolPath( &self, buffer: PSTR, buffersize: u32, pathsize: *mut u32, ) -> Result<()>

fn SetSymbolPath(&self, path: &PCSTR) -> Result<()>

fn AppendSymbolPath(&self, addition: &PCSTR) -> Result<()>

fn GetImagePath( &self, buffer: PSTR, buffersize: u32, pathsize: *mut u32, ) -> Result<()>

fn SetImagePath(&self, path: &PCSTR) -> Result<()>

fn AppendImagePath(&self, addition: &PCSTR) -> Result<()>

fn GetSourcePath( &self, buffer: PSTR, buffersize: u32, pathsize: *mut u32, ) -> Result<()>

fn GetSourcePathElement( &self, index: u32, buffer: PSTR, buffersize: u32, elementsize: *mut u32, ) -> Result<()>

fn SetSourcePath(&self, path: &PCSTR) -> Result<()>

fn AppendSourcePath(&self, addition: &PCSTR) -> Result<()>

fn FindSourceFile( &self, startelement: u32, file: &PCSTR, flags: u32, foundelement: *mut u32, buffer: PSTR, buffersize: u32, foundsize: *mut u32, ) -> Result<()>

fn GetSourceFileLineOffsets( &self, file: &PCSTR, buffer: *mut u64, bufferlines: u32, filelines: *mut u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§