Package Libs :: Module libheap :: Class PHeap
[hide private]
[frames] | no frames]

Class PHeap

source code

Known Subclasses:

Instance Methods [hide private]
PHEAP object
__init__(self, imm, heapddr=0, restore=False)
Windows 32 Heap Class
source code
 
_grabHeap(self) source code
 
printLookaside(self, uselog=None) source code
 
decimal2binary(self, num, swap=True) source code
 
printHeapCache(self, uselog=None) source code
 
printFreeListInUse(self, uselog=None)
Print the Heap's FreeListInUse bitmask
source code
 
printFreeList(self, uselog=None)
Print the Heap's FreeList
source code
List of win32heapchunks
getRestoredChunks(self, address)
Enumerate Chunks of the current heap using a restore heap
source code
win32heapchunks
findChunkByAddress(self, addr)
Find a Chunks by its address
source code
List of win32heapchunks
getChunks(self, address, size=4294967295)
Enumerate Chunks of the current heap
source code
 
get_chunk(self, addr) source code
Method Details [hide private]

printFreeListInUse(self, uselog=None)

source code 

Print the Heap's FreeListInUse bitmask

Parameters:
  • uselog (Log Function) - (Optional, Def: Log Window) Log function that display the information

printFreeList(self, uselog=None)

source code 

Print the Heap's FreeList

Parameters:
  • uselog (Log Function) - (Optional, Def: Log Window) Log function that display the information

getRestoredChunks(self, address)

source code 

Enumerate Chunks of the current heap using a restore heap

Parameters:
  • address (DWORD) - Address where to start getting chunks
Returns: List of win32heapchunks
Chunks

findChunkByAddress(self, addr)

source code 

Find a Chunks by its address

Parameters:
  • address (DWORD) - Address to search for
Returns: win32heapchunks
Chunk

getChunks(self, address, size=4294967295)

source code 

Enumerate Chunks of the current heap

Parameters:
  • address (DWORD) - Address where to start getting chunks
  • size (DWORD) - (Optional, Def: All) Amount of chunks
Returns: List of win32heapchunks
Chunks