Share via


IDkmDisassemblyProvider.GetEffectiveAddresses Method

Definition

A method that calculates and returns the effective addresses for the requested address. The effective address is the calculated address that an instruction operand represents. For instance, on x86, an instruction may be of the form dwordptr [esp-12]. The effective address of this operand will be the result of subtracting 12 from esp. The number of operands and effective addresses are architecture specific.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Disassembly::DkmEffectiveAddress> ^ GetEffectiveAddresses(Microsoft::VisualStudio::Debugger::CallStack::DkmStackFrame ^ frame, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ address);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Disassembly.DkmEffectiveAddress> GetEffectiveAddresses (Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame frame, Microsoft.VisualStudio.Debugger.DkmInstructionAddress address);
abstract member GetEffectiveAddresses : Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame * Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Disassembly.DkmEffectiveAddress>
Public Function GetEffectiveAddresses (frame As DkmStackFrame, address As DkmInstructionAddress) As ReadOnlyCollection(Of DkmEffectiveAddress)

Parameters

frame
DkmStackFrame

[In] DkmStackFrame represents a frame on the call stack after filtering and translation.

address
DkmInstructionAddress

[In] The address for which to obtain the effective addresses.

Returns

[Out] The collection of effective addresses for this instruction if any.

Applies to