pmHeapDump::PmHeap Class Reference

List of all members.

Public Member Functions

def __init__
def parse_heap
def __getitem__
def __str__
def dotstring

Public Attributes

 is_parsed
 base
 features
 rawheap
 roots
 PmObjectClass
 endianess
 endianchr
 ptrsize
 ptrchr

Static Public Attributes

list FEATURES


Detailed Description

A model of the heap.

Definition at line 541 of file pmHeapDump.py.


Member Function Documentation

def pmHeapDump::PmHeap::__getitem__ (   self,
  indx 
)

Returns the object at the given address
or the string of bytes defined by the slice.

Definition at line 629 of file pmHeapDump.py.

def pmHeapDump::PmHeap::__init__ (   self,
  fp 
)

Initializes the heap based on the given dump file.

Definition at line 549 of file pmHeapDump.py.

def pmHeapDump::PmHeap::dotstring (   self  ) 

A DOT representation of the heap

Definition at line 675 of file pmHeapDump.py.

def pmHeapDump::PmHeap::parse_heap (   self  ) 

Parses the heap into a dict of key=address, value=object items

Definition at line 619 of file pmHeapDump.py.


Member Data Documentation

list pmHeapDump::PmHeap::FEATURES [static]

Initial value:

['USE_STRING_CACHE', 'HAVE_DEFAULTARGS', 'HAVE_CLOSURES',
                'HAVE_CLASSES']

Definition at line 545 of file pmHeapDump.py.


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

Generated on Mon Oct 18 07:40:50 2010 for Python-on-a-chip by  doxygen 1.5.9