IDAPython 9.0
|
Proxy of C++ DBG_Hooks class.
Public Member Functions | |
__init__ (self, "uint32" _flags=0, "uint32" _hkcb_flags=0x0001) | |
init(self, _flags=0, _hkcb_flags=0x0001) -> DBG_Hooks | |
"bool" | hook (self) |
hook(self) -> bool | |
"bool" | unhook (self) |
unhook(self) -> bool | |
"void" | dbg_process_start (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "char const *" modinfo_name, "ea_t" modinfo_base, "asize_t" modinfo_size) |
dbg_process_start(self, pid, tid, ea, modinfo_name, modinfo_base, modinfo_size) | |
"void" | dbg_process_exit (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "int" exit_code) |
dbg_process_exit(self, pid, tid, ea, exit_code) | |
"void" | dbg_process_attach (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "char const *" modinfo_name, "ea_t" modinfo_base, "asize_t" modinfo_size) |
dbg_process_attach(self, pid, tid, ea, modinfo_name, modinfo_base, modinfo_size) | |
"void" | dbg_process_detach (self, "pid_t" pid, "thid_t" tid, "ea_t" ea) |
dbg_process_detach(self, pid, tid, ea) | |
"void" | dbg_thread_start (self, "pid_t" pid, "thid_t" tid, "ea_t" ea) |
dbg_thread_start(self, pid, tid, ea) | |
"void" | dbg_thread_exit (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "int" exit_code) |
dbg_thread_exit(self, pid, tid, ea, exit_code) | |
"void" | dbg_library_load (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "char const *" modinfo_name, "ea_t" modinfo_base, "asize_t" modinfo_size) |
dbg_library_load(self, pid, tid, ea, modinfo_name, modinfo_base, modinfo_size) | |
"void" | dbg_library_unload (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "char const *" info) |
dbg_library_unload(self, pid, tid, ea, info) | |
"void" | dbg_information (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "char const *" info) |
dbg_information(self, pid, tid, ea, info) | |
"int" | dbg_exception (self, "pid_t" pid, "thid_t" tid, "ea_t" ea, "int" exc_code, "bool" exc_can_cont, "ea_t" exc_ea, "char const *" exc_info) |
dbg_exception(self, pid, tid, ea, exc_code, exc_can_cont, exc_ea, exc_info) -> int | |
"void" | dbg_suspend_process (self) |
dbg_suspend_process(self) The process is now suspended. | |
"int" | dbg_bpt (self, "thid_t" tid, "ea_t" bptea) |
dbg_bpt(self, tid, bptea) -> int A user defined breakpoint was reached. | |
"int" | dbg_trace (self, "thid_t" tid, "ea_t" ip) |
dbg_trace(self, tid, ip) -> int A step occurred (one instruction was executed). | |
"void" | dbg_request_error (self, "int" failed_command, "int" failed_dbg_notification) |
dbg_request_error(self, failed_command, failed_dbg_notification) An error occurred during the processing of a request. | |
"void" | dbg_step_into (self) |
dbg_step_into(self) | |
"void" | dbg_step_over (self) |
dbg_step_over(self) | |
"void" | dbg_run_to (self, "pid_t" pid, "thid_t" tid, "ea_t" ea) |
dbg_run_to(self, pid, tid, ea) | |
"void" | dbg_step_until_ret (self) |
dbg_step_until_ret(self) | |
"void" | dbg_bpt_changed (self, "int" bptev_code, "bpt_t" bpt) |
dbg_bpt_changed(self, bptev_code, bpt) Breakpoint has been changed. | |
"void" | dbg_started_loading_bpts (self) |
dbg_started_loading_bpts(self) Started loading breakpoint info from idb. | |
"void" | dbg_finished_loading_bpts (self) |
dbg_finished_loading_bpts(self) Finished loading breakpoint info from idb. | |
__disown__ (self) | |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
__init__ | ( | self, | |
"uint32" | _flags = 0, | ||
"uint32" | _hkcb_flags = 0x0001 ) |
_flags | uint32 |
_hkcb_flags | uint32 |
__disown__ | ( | self | ) |
"int" dbg_bpt | ( | self, | |
"thid_t" | tid, | ||
"ea_t" | bptea ) |
tid | (thid_t) |
bptea | (::ea_t) |
"void" dbg_bpt_changed | ( | self, | |
"int" | bptev_code, | ||
"bpt_t" | bpt ) |
bptev_code | (int) Breakpoint modification events |
bpt | (bpt_t *) |
"int" dbg_exception | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"int" | exc_code, | ||
"bool" | exc_can_cont, | ||
"ea_t" | exc_ea, | ||
"char const *" | exc_info ) |
event | (const debug_event_t *) |
warn | (int *) filled with:
|
ea | ea_t |
exc_code | int |
exc_can_cont | bool |
exc_ea | ea_t |
exc_info | char const * |
"void" dbg_finished_loading_bpts | ( | self | ) |
"void" dbg_information | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"char const *" | info ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
info | char const * |
"void" dbg_library_load | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"char const *" | modinfo_name, | ||
"ea_t" | modinfo_base, | ||
"asize_t" | modinfo_size ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
modinfo_name | char const * |
modinfo_base | ea_t |
modinfo_size | asize_t |
"void" dbg_library_unload | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"char const *" | info ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
info | char const * |
"void" dbg_process_attach | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"char const *" | modinfo_name, | ||
"ea_t" | modinfo_base, | ||
"asize_t" | modinfo_size ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
modinfo_name | char const * |
modinfo_base | ea_t |
modinfo_size | asize_t |
"void" dbg_process_detach | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
"void" dbg_process_exit | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"int" | exit_code ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
exit_code | int |
"void" dbg_process_start | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"char const *" | modinfo_name, | ||
"ea_t" | modinfo_base, | ||
"asize_t" | modinfo_size ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
modinfo_name | char const * |
modinfo_base | ea_t |
modinfo_size | asize_t |
"void" dbg_request_error | ( | self, | |
"int" | failed_command, | ||
"int" | failed_dbg_notification ) |
failed_command | (ui_notification_t) |
failed_dbg_notification | (dbg_notification_t) |
"void" dbg_run_to | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
"void" dbg_started_loading_bpts | ( | self | ) |
"void" dbg_step_into | ( | self | ) |
"void" dbg_step_over | ( | self | ) |
"void" dbg_step_until_ret | ( | self | ) |
"void" dbg_suspend_process | ( | self | ) |
"void" dbg_thread_exit | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea, | ||
"int" | exit_code ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
exit_code | int |
"void" dbg_thread_start | ( | self, | |
"pid_t" | pid, | ||
"thid_t" | tid, | ||
"ea_t" | ea ) |
event | (const debug_event_t *) |
tid | thid_t |
ea | ea_t |
"int" dbg_trace | ( | self, | |
"thid_t" | tid, | ||
"ea_t" | ip ) |
This event notification is only generated if step tracing is enabled.
tid | (thid_t) thread ID |
ip | (::ea_t) current instruction pointer. usually points after the executed instruction |
1 | do not log this trace event |
0 | log it |
"bool" hook | ( | self | ) |
"bool" unhook | ( | self | ) |
|
static |