Encapsulates several useful debugging routines for threads.
|
tuple of tuple( int, int, str )
|
__get_stack_trace(self,
depth=16,
bUseLabels=True)
Tries to get a stack trace for the current function. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
TEB
|
get_teb(self)
Returns a copy of the TEB. |
|
|
|
list of tuple( long, int, str, str )
|
disassemble(self,
lpAddress,
dwSize)
Disassemble instructions from the address space of the process. |
|
|
|
list of tuple( long, int, str, str )
|
|
|
list of tuple( long, int, str, str )
|
|
|
tuple( int, int )
|
|
|
tuple of tuple( int, int, str )
|
get_stack_trace(self,
depth=16)
Tries to get a stack trace for the current function. |
|
|
|
tuple of tuple( int, int, str )
|
|
|
tuple( int, int )
|
|
|
str
|
get_stack_frame(self,
max_size=None)
Reads the contents of the current stack frame. |
|
|
|
str
|
read_stack_data(self,
size=128,
offset=0)
Reads the contents of the top of the stack. |
|
|
|
str
|
peek_stack_data(self,
size=128,
offset=0)
Tries to read the contents of the top of the stack. |
|
|
|
tuple( int... )
|
|
|
tuple( int... )
|
peek_stack_dwords(self,
count,
offset=0)
Tries to read DWORDs from the top of the stack. |
|
|
|
str
|
read_code_bytes(self,
size=128,
offset=0)
Tries to read some bytes of the code currently being executed. |
|
|
|
str
|
peek_code_bytes(self,
size=128,
offset=0)
Tries to read some bytes of the code currently being executed. |
|
|
|
dict( str → str )
|
peek_pointers_in_registers(self,
peekSize=16)
Tries to guess which values in the registers are valid pointers, and
reads some data from them. |
|
|
|
dict( str → str )
|
peek_pointers_in_data(self,
data,
peekSize=16,
peekStep=1)
Tries to guess which values in the given data are valid pointers, and
reads some data from them. |
|
|