DkmClrRuntimeInstance.GetMethodReturnAddresses Method

Definition

Internal helper method for finding all ret instruction addresses in a given method. NB! The addresses point to the actual IL, not the current/previous sequence point!

Location constraint: None.

This API was introduced in Visual Studio 16 Update 6 (DkmApiVersion.VS16Update6).

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionAddress ^> ^ GetMethodReturnAddresses(Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ClrModuleInstance, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId MethodId);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress[] GetMethodReturnAddresses (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ClrModuleInstance, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId MethodId);
member this.GetMethodReturnAddresses : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId -> Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress[]
Public Function GetMethodReturnAddresses (ClrModuleInstance As DkmClrModuleInstance, MethodId As DkmClrMethodId) As DkmClrInstructionAddress()

Parameters

ClrModuleInstance
DkmClrModuleInstance

[In] The CLR module.

MethodId
DkmClrMethodId

[In] The method id.

Returns

[Out] The result candidate addresses.

Applies to