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

#include <StackFrame.h>

+ Inheritance diagram for PPC32StackFrame:
+ Collaboration diagram for PPC32StackFrame:

Public Member Functions

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

mips32 StackFrame

Definition at line 31 of file ppc32/StackFrame.h.

Constructor & Destructor Documentation

PPC32StackFrame::PPC32StackFrame ( const ProcessorState &  State,
uintptr_t  basePointer,
LargeStaticString  mangledSymbol 
)
inline

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

Definition at line 36 of file ppc32/StackFrame.h.

PPC32StackFrame::~PPC32StackFrame ( )
inline

The destructor does nothing

Definition at line 43 of file ppc32/StackFrame.h.

References getParameter().

Member Function Documentation

uintptr_t PPC32StackFrame::getParameter ( size_t  n)
privatevirtual

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

Implements StackFrameBase.

Definition at line 25 of file ppc32/StackFrame.cc.

References ERROR, Hex, StackFrameBase::m_State, NOTICE, and WARNING.

Referenced by ~PPC32StackFrame().

+ Here is the caller graph for this function:


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