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

STACKFRAME_EX structure

Represents an extended stack frame.

Syntax


typedef struct _tagSTACKFRAME_EX {
  ADDRESS64 AddrPC;
  ADDRESS64 AddrReturn;
  ADDRESS64 AddrFrame;
  ADDRESS64 AddrStack;
  ADDRESS64 AddrBStore;
  PVOID     FuncTableEntry;
  DWORD64   Params[4];
  BOOL      Far;
  BOOL      Virtual;
  DWORD64   Reserved[3];
  KDHELP64  KdHelp;
  DWORD     StackFrameSize;
  DWORD     InlineFrameContext;
} STACKFRAME_EX, *LPSTACKFRAME_EX;

Members

AddrPC

An ADDRESS64 structure that specifies the program counter.

x86:  The program counter is EIP.

Intel Itanium:  The program counter is StIIP.

x64:  The program counter is RIP.

AddrReturn

An ADDRESS64 structure that specifies the return address.

AddrFrame

An ADDRESS64 structure that specifies the frame pointer.

x86:  The frame pointer is EBP.

Intel Itanium:  There is no frame pointer, but AddrBStore is used.

x64:  The frame pointer is RBP or RDI. This value is not always used.

AddrStack

An ADDRESS64 structure that specifies the stack pointer.

x86:  The stack pointer is ESP.

Intel Itanium:  The stack pointer is SP.

x64:  The stack pointer is RSP.

AddrBStore

Intel Itanium:  An ADDRESS64 structure that specifies the backing store (RsBSP).

FuncTableEntry

On x86 computers, this member is an FPO_DATA structure. If there is no function table entry, this member is NULL.

Params

The possible arguments to the function.

Far

This member is TRUE if this is a WOW far call.

Virtual

This member is TRUE if this is a virtual frame.

Reserved

This member is used internally by the StackWalkEx function.

KdHelp

A KDHELP64 structure that specifies helper data for walking kernel callback frames.

StackFrameSize

Set to sizeof(STACKFRAME_EX).

InlineFrameContext

Specifies the type of the inline frame context.

INLINE_FRAME_CONTEXT_INIT (0)
INLINE_FRAME_CONTEXT_IGNORE (0xffffffff)

Requirements

Redistributable

DbgHelp.dll 6.2 or later

Header

DbgHelp.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.