IDebugHostModule2::FindSymbolByRVA method (dbgmodel.h)

The FindSymbolByRVA method will find a single matching symbol at the given relative virtual address within the module. If there is not a single symbol at the supplied RVA (e.g.: there are multiple matches), an error will be returned by this method. Note that this method will prefer returning a private symbol over a symbol in the publics table.

Syntax

HRESULT FindSymbolByRVA(
  ULONG64          rva,
  IDebugHostSymbol **symbol
);

Parameters

rva

The relative virtual address (offset) within the module for which to locate a matching symbol in the symbolic information for the module.

symbol

The found symbol will be returned here.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostModule2 interface