IDkmInstructionAddressResolver.ResolveCPUInstructionAddress Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves a CPU InstructionAddress to a runtime-specific DkmInstructionAddress object.
This API is currently only supported by CLR DkmRuntimeInstance objects, and the CLR runtime instance can currently only find instruction addresses which are in a method that is currently on the call stack of one of the threads in the target process.
public:
Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ ResolveCPUInstructionAddress(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ runtimeInstance, System::UInt64 instructionPointer, [Runtime::InteropServices::Out] bool % firstAddress);
public Microsoft.VisualStudio.Debugger.DkmInstructionAddress ResolveCPUInstructionAddress (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance runtimeInstance, ulong instructionPointer, out bool firstAddress);
abstract member ResolveCPUInstructionAddress : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * uint64 * bool -> Microsoft.VisualStudio.Debugger.DkmInstructionAddress
Public Function ResolveCPUInstructionAddress (runtimeInstance As DkmRuntimeInstance, instructionPointer As ULong, ByRef firstAddress As Boolean) As DkmInstructionAddress
Parameters
- runtimeInstance
- DkmRuntimeInstance
[In] The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.
- instructionPointer
- UInt64
[In] Memory address where the native instruction is located.
- firstAddress
- Boolean
[Out] True if this address is the first address in the line's range. False otherwise.
Returns
[Out] Abstract representation of an executable code location (ex: EIP value). If resolved, an Instruction Address will be within a particular module instance. An Instruction Address is always within a particular Runtime Instance.