IDiaStackWalkHelper

Facilitates walking the stack using the program debug database (.pdb) file.

Syntax


IDiaStackWalkHelper: IUnknown

Methods in VTable Order

This table shows the methods of IDiaStackWalkHelper:

Method Description
IDiaStackWalkHelper::get_registerValue Retrieves the value of a register.
IDiaStackWalkHelper::put_registerValue Sets the value of a register.
IDiaStackWalkHelper::readMemory Reads a block of data from the executable's image in memory.
IDiaStackWalkHelper::searchForReturnAddress Searches the specified stack frame for the nearest function return address.
IDiaStackWalkHelper::searchForReturnAddressStart Searches the specified stack frame for a return address at or near the specified stack address.
IDiaStackWalkHelper::frameForVA Retrieves the stack frame that contains the specified virtual address (VA).
IDiaStackWalkHelper::symbolForVA Retrieves the symbol that contains the specified VA. Note: Symbol must have the type SymTagFunctionType (a value from the SymTagEnum Enumeration enumeration).
IDiaStackWalkHelper::pdataForVA Returns the PDATA data block associated with the specified VA.
IDiaStackWalkHelper::imageForVA Retrieves the starting VA of an executable, given a VA somewhere in the executable's memory space.
IDiaStackWalkHelper::addressForVA Returns the equivalent address (section and offset) for the specified VA.
IDiaStackWalkHelper::numberOfFunctionFragmentsForVA Retrieves the number of discontiguous fragments for the function at the specified VA.
IDiaStackWalkHelper::functionFragmentsForVA Retrieves the addresses and lengths of discontiguous fragments for the function at the specified VA.

Remarks

This interface is called by the Debug Interface Access (DIA) code to obtain information about the executable to construct a list of stack frames during program execution.

Notes for Callers

A client application implements this interface to support walking the stack during program execution. An instance of this interface is passed to the IDiaStackWalker::getEnumFrames or IDiaStackWalker::getEnumFrames2 methods.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

See also