The Pedigree Project  0.1
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
X64StackFrame Class Reference

#include <StackFrame.h>

+ Inheritance diagram for X64StackFrame:
+ Collaboration diagram for X64StackFrame:

Public Member Functions

 X64StackFrame (const ProcessorState &State, uintptr_t baseAddress, LargeStaticString mangledSymbol)
 
 ~X64StackFrame ()
 
- Public Member Functions inherited from StackFrameBase
void prettyPrint (HugeStaticString &buf)
 
 StackFrameBase (const ProcessorState &State, uintptr_t basePointer, LargeStaticString mangledSymbol)
 
virtual ~StackFrameBase ()
 

Static Public Member Functions

static void construct (ProcessorState &state, uintptr_t returnAddress, unsigned int nParams,...)
 
- Static Public Member Functions inherited from StackFrameBase
static void construct (ProcessorState &state, uintptr_t returnAddress, unsigned int nParams,...)
 

Private Member Functions

virtual uintptr_t getParameter (size_t n)
 

Additional Inherited Members

- Protected Attributes inherited from StackFrameBase
symbol_t m_Symbol
 
const ProcessorState & m_State
 
uintptr_t m_BasePointer
 

Detailed Description

x64 StackFrame

Definition at line 30 of file x64/StackFrame.h.

Constructor & Destructor Documentation

X64StackFrame::X64StackFrame ( const ProcessorState &  State,
uintptr_t  baseAddress,
LargeStaticString  mangledSymbol 
)
inline

Creates a stack frame based on the given processor state and also the given symbol name (mangled).

Definition at line 35 of file x64/StackFrame.h.

X64StackFrame::~X64StackFrame ( )
inline

The destructor does nothing

Definition at line 42 of file x64/StackFrame.h.

References getParameter().

Member Function Documentation

uintptr_t X64StackFrame::getParameter ( size_t  n)
privatevirtual

Returns the n'th 64-bit parameter in the stack frame.

Implements StackFrameBase.

Definition at line 28 of file x64/StackFrame.cc.

References StackFrameBase::m_State, and WARNING.

Referenced by ~X64StackFrame().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: