Trees | Index | Help |
|
---|
Package utils :: Module process_stalker :: Class process_stalker |
|
To Do: This utility has really only been used in the pstalker PAIMEIconsole module, it needs to be tested to ensure that it can be utilized standalone.
Method Summary | |
---|---|
Initialize the process stalker object, not all arguments are required. | |
Export all the recorded hits to the database. | |
If the shit hits the fan, we want to know about it. | |
The breakpoint handler is of course responsible for logging the code coverage. | |
Generate debug messages on DLL loads and keep track of the last loaded DLL. | |
This is my elegant solution to avoiding having to thread out the stalk routine. | |
log(x)
| |
Set breakpoints in the specified module. | |
This is the main routine of the process stalker utility class. |
Class Variable Summary | |
---|---|
NoneType |
args = None |
int |
attach = 0 |
int |
BASIC_BLOCKS = 1 |
code_coverage |
cc = <utils.code_coverage.code_coverage instance at 0x01...
|
NoneType |
depth = None |
bool |
detach = False
|
list |
filter_list = []
|
dict |
filtered = {}
|
int |
FUNCTIONS = 0 |
bool |
heavy = False
|
bool |
ignore_first_chance = True
|
NoneType |
load = None |
NoneType |
main = None |
NoneType |
mysql = None |
NoneType |
pida_modules = None |
NoneType |
pydbg = None |
bool |
restore = False
|
NoneType |
tag_id = None |
NoneType |
target_id = None |
Method Details |
---|
__init__(self,
depth,
filter_list,
log,
main,
mysql,
pida_modules,
pydbg,
tag_id,
target_id,
print_bps=True,
attach=0,
load=None,
args=None,
heavy=False,
ignore_first_chance=True,
restore=False)
Initialize the process stalker object, not all arguments are
required.
|
export_mysql(self)Export all the recorded hits to the database. |
handler_access_violation(self, dbg)If the shit hits the fan, we want to know about it. |
handler_breakpoint(self, dbg)The breakpoint handler is of course responsible for logging the code coverage. |
handler_load_dll(self, dbg)Generate debug messages on DLL loads and keep track of the last loaded DLL. |
handler_user_callback(self, dbg)This is my elegant solution to avoiding having to thread out the stalk routine. |
set_bps(self, module, last_dll=None)Set breakpoints in the specified module.
|
stalk(self)This is the main routine of the process stalker utility class. Once all the required member variables are set you call this routine to get the ball rolling and start stalking.
|
Class Variable Details |
---|
args
|
attach
|
BASIC_BLOCKS
|
cc
|
depth
|
detach
|
filter_list
|
filtered
|
FUNCTIONS
|
heavy
|
ignore_first_chance
|
load
|
main
|
mysql
|
pida_modules
|
pydbg
|
restore
|
tag_id
|
target_id
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Sep 14 10:39:51 2006 | http://epydoc.sf.net |