IDkmRuntimeDisassemblyProvider.GetInstructionAddress 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.
Returns the address of the kth instruction relative to a starting address. For constant length instruction sets, this is simple arithmetic. For variable length instruction sets, reverse-disassembly is required to obtain this address.
public:
Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ GetInstructionAddress(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ runtimeInstance, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ startAddress, int instructionOffset);
public Microsoft.VisualStudio.Debugger.DkmInstructionAddress GetInstructionAddress (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance runtimeInstance, Microsoft.VisualStudio.Debugger.DkmInstructionAddress startAddress, int instructionOffset);
abstract member GetInstructionAddress : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmInstructionAddress * int -> Microsoft.VisualStudio.Debugger.DkmInstructionAddress
Public Function GetInstructionAddress (runtimeInstance As DkmRuntimeInstance, startAddress As DkmInstructionAddress, instructionOffset As Integer) 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.
- startAddress
- DkmInstructionAddress
[In] The address of the current instruction where the offset should begin.
- instructionOffset
- Int32
[In] The number of instructions relative to StartAddress to find the desired address. This value can be negative.
Returns
[Out] The address of the instruction InstructionOffset instructions from StartAddress.