Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDiaStackWalkHelper

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

IDiaStackWalkHelper: IUnknown

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 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.

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.

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.