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

#include <StackFrame.h>

+ Inheritance diagram for HostedStackFrame:
+ Collaboration diagram for HostedStackFrame:

Public Member Functions

 HostedStackFrame (const ProcessorState &State, uintptr_t baseAddress, LargeStaticString mangledSymbol)
 
 ~HostedStackFrame ()
 
- 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

Hosted StackFrame

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

Constructor & Destructor Documentation

HostedStackFrame::HostedStackFrame ( 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 hosted/StackFrame.h.

HostedStackFrame::~HostedStackFrame ( )
inline

The destructor does nothing

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

References getParameter().

Member Function Documentation

uintptr_t HostedStackFrame::getParameter ( size_t  n)
privatevirtual

Returns the n'th parameter in the stack frame.

Implements StackFrameBase.

Definition at line 26 of file hosted/StackFrame.cc.

Referenced by ~HostedStackFrame().

+ Here is the caller graph for this function:


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