IDAPython 9.0
Loading...
Searching...
No Matches
DBG_Hooks Class Reference
Inheritance diagram for DBG_Hooks:

Public Member Functions

 __init__ (self, int _flags=0, int _hkcb_flags=1)
 
bool hook (self)
 
bool unhook (self)
 
None dbg_process_start (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, str modinfo_name, ida_idaapi.ea_t modinfo_base, 'asize_t' modinfo_size)
 
None dbg_process_exit (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, int exit_code)
 
None dbg_process_attach (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, str modinfo_name, ida_idaapi.ea_t modinfo_base, 'asize_t' modinfo_size)
 
None dbg_process_detach (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea)
 
None dbg_thread_start (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea)
 
None dbg_thread_exit (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, int exit_code)
 
None dbg_library_load (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, str modinfo_name, ida_idaapi.ea_t modinfo_base, 'asize_t' modinfo_size)
 
None dbg_library_unload (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, str info)
 
None dbg_information (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, str info)
 
int dbg_exception (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea, int exc_code, bool exc_can_cont, ida_idaapi.ea_t exc_ea, str exc_info)
 
None dbg_suspend_process (self)
 
int dbg_bpt (self, 'thid_t' tid, ida_idaapi.ea_t bptea)
 
int dbg_trace (self, 'thid_t' tid, ida_idaapi.ea_t ip)
 
None dbg_request_error (self, int failed_command, int failed_dbg_notification)
 
None dbg_step_into (self)
 
None dbg_step_over (self)
 
None dbg_run_to (self, 'pid_t' pid, 'thid_t' tid, ida_idaapi.ea_t ea)
 
None dbg_step_until_ret (self)
 
None dbg_bpt_changed (self, int bptev_code, 'bpt_t' bpt)
 
None dbg_started_loading_bpts (self)
 
None dbg_finished_loading_bpts (self)
 
 __disown__ (self)
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
int _flags = 0,
int _hkcb_flags = 1 )

Member Function Documentation

◆ __disown__()

__disown__ ( self)

◆ dbg_bpt()

int dbg_bpt ( self,
'thid_t' tid,
ida_idaapi.ea_t bptea )
A user defined breakpoint was reached. 
  
@param tid: (thid_t)
@param bptea: (::ea_t)

◆ dbg_bpt_changed()

None dbg_bpt_changed ( self,
int bptev_code,
'bpt_t' bpt )
Breakpoint has been changed. 
  
@param bptev_code: (int) Breakpoint modification events
@param bpt: (bpt_t *)

◆ dbg_exception()

int dbg_exception ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
int exc_code,
bool exc_can_cont,
ida_idaapi.ea_t exc_ea,
str exc_info )

◆ dbg_finished_loading_bpts()

None dbg_finished_loading_bpts ( self)
Finished loading breakpoint info from idb.

◆ dbg_information()

None dbg_information ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
str info )

◆ dbg_library_load()

None dbg_library_load ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
str modinfo_name,
ida_idaapi.ea_t modinfo_base,
'asize_t' modinfo_size )

◆ dbg_library_unload()

None dbg_library_unload ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
str info )

◆ dbg_process_attach()

None dbg_process_attach ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
str modinfo_name,
ida_idaapi.ea_t modinfo_base,
'asize_t' modinfo_size )

◆ dbg_process_detach()

None dbg_process_detach ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea )

◆ dbg_process_exit()

None dbg_process_exit ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
int exit_code )

◆ dbg_process_start()

None dbg_process_start ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
str modinfo_name,
ida_idaapi.ea_t modinfo_base,
'asize_t' modinfo_size )

◆ dbg_request_error()

None dbg_request_error ( self,
int failed_command,
int failed_dbg_notification )
An error occurred during the processing of a request. 
  
@param failed_command: (ui_notification_t)
@param failed_dbg_notification: (dbg_notification_t)

◆ dbg_run_to()

None dbg_run_to ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea )

◆ dbg_started_loading_bpts()

None dbg_started_loading_bpts ( self)
Started loading breakpoint info from idb.

◆ dbg_step_into()

None dbg_step_into ( self)

◆ dbg_step_over()

None dbg_step_over ( self)

◆ dbg_step_until_ret()

None dbg_step_until_ret ( self)

◆ dbg_suspend_process()

None dbg_suspend_process ( self)
The process is now suspended. 

◆ dbg_thread_exit()

None dbg_thread_exit ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea,
int exit_code )

◆ dbg_thread_start()

None dbg_thread_start ( self,
'pid_t' pid,
'thid_t' tid,
ida_idaapi.ea_t ea )

◆ dbg_trace()

int dbg_trace ( self,
'thid_t' tid,
ida_idaapi.ea_t ip )
A step occurred (one instruction was executed). This event notification is only generated if step tracing is enabled. 
  
@param tid: (thid_t) thread ID
@param ip: (::ea_t) current instruction pointer. usually points after the executed instruction
@retval 1: do not log this trace event
@retval 0: log it

◆ hook()

bool hook ( self)

◆ unhook()

bool unhook ( self)

Property Documentation

◆ thisown

thisown
static
Initial value:
= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')

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