IDebugHostModule2::FindContainingSymbolByRVA 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 FindContainingSymbolByRVA(
ULONG64 rva,
IDebugHostSymbol **symbol,
ULONG64 *offset
);
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.
offset
The offset value.
Return value
This method returns HRESULT which indicates success or failure.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for