IDiaStackWalkHelper

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

IDiaStackWalkHelper: IUnknown

Methods in VTable Order

The table below 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.

IDiaStackWalkHelper::symbolForVA

Retrieves the symbol that contains the specified virtual address.

Note

Symbol must have the type SymTagFunctionType (a value from the SymTagEnum enumeration).

IDiaStackWalkHelper::pdataForVA

Returns the PDATA data block associated with the specified virtual address.

IDiaStackWalkHelper::imageForVA

Retrieves the starting virtual address of an executable, given a virtual address somewhere in the executable's memory space.

Remarks

This interface is called by the 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

Reference

IDiaFrameData

SymTagEnum

IDiaStackWalker::getEnumFrames

IDiaStackWalker::getEnumFrames2

Other Resources

Interfaces (Debug Interface Access SDK)