IDAPython 8.4
Loading...
Searching...
No Matches
DBG_Hooks Class Reference

Proxy of C++ DBG_Hooks class.

Inheritance diagram for DBG_Hooks:

Public Member Functions

 __init__ (self, *args)
 init(self, _flags=0, _hkcb_flags=0x0001) -> DBG_Hooks
 
"bool" hook (self, *args)
 hook(self) -> bool
 
"bool" unhook (self, *args)
 unhook(self) -> bool
 
"void" dbg_process_start (self, *args)
 dbg_process_start(self, pid, tid, ea, modinfo_name, modinfo_base, modinfo_size)
 
"void" dbg_process_exit (self, *args)
 dbg_process_exit(self, pid, tid, ea, exit_code)
 
"void" dbg_process_attach (self, *args)
 dbg_process_attach(self, pid, tid, ea, modinfo_name, modinfo_base, modinfo_size)
 
"void" dbg_process_detach (self, *args)
 dbg_process_detach(self, pid, tid, ea)
 
"void" dbg_thread_start (self, *args)
 dbg_thread_start(self, pid, tid, ea)
 
"void" dbg_thread_exit (self, *args)
 dbg_thread_exit(self, pid, tid, ea, exit_code)
 
"void" dbg_library_load (self, *args)
 dbg_library_load(self, pid, tid, ea, modinfo_name, modinfo_base, modinfo_size)
 
"void" dbg_library_unload (self, *args)
 dbg_library_unload(self, pid, tid, ea, info)
 
"void" dbg_information (self, *args)
 dbg_information(self, pid, tid, ea, info)
 
"int" dbg_exception (self, *args)
 dbg_exception(self, pid, tid, ea, exc_code, exc_can_cont, exc_ea, exc_info) -> int
 
"void" dbg_suspend_process (self, *args)
 dbg_suspend_process(self) The process is now suspended.
 
"int" dbg_bpt (self, *args)
 dbg_bpt(self, tid, bptea) -> int A user defined breakpoint was reached.
 
"int" dbg_trace (self, *args)
 dbg_trace(self, tid, ip) -> int A step occurred (one instruction was executed).
 
"void" dbg_request_error (self, *args)
 dbg_request_error(self, failed_command, failed_dbg_notification) An error occurred during the processing of a request.
 
"void" dbg_step_into (self, *args)
 dbg_step_into(self)
 
"void" dbg_step_over (self, *args)
 dbg_step_over(self)
 
"void" dbg_run_to (self, *args)
 dbg_run_to(self, pid, tid, ea)
 
"void" dbg_step_until_ret (self, *args)
 dbg_step_until_ret(self)
 
"void" dbg_bpt_changed (self, *args)
 dbg_bpt_changed(self, bptev_code, bpt) Breakpoint has been changed.
 
"void" dbg_started_loading_bpts (self, *args)
 dbg_started_loading_bpts(self) Started loading breakpoint info from idb.
 
"void" dbg_finished_loading_bpts (self, *args)
 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")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Parameters
_flagsuint32
_hkcb_flagsuint32

Member Function Documentation

◆ __disown__()

__disown__ ( self)

◆ dbg_bpt()

"int" dbg_bpt ( self,
* args )
Parameters
tid(thid_t)
bptea(::ea_t)

◆ dbg_bpt_changed()

"void" dbg_bpt_changed ( self,
* args )
Parameters
bptev_code(int) Breakpoint modification events
bpt(bpt_t *)

◆ dbg_exception()

"int" dbg_exception ( self,
* args )
Parameters
event(const debug_event_t *)
warn(int *) filled with:
  • -1: display an exception warning dialog if the process is suspended.
  • 0: never display an exception warning dialog.
  • 1: always display an exception warning dialog.
eaea_t
exc_codeint
exc_can_contbool
exc_eaea_t
exc_infochar const *

◆ dbg_finished_loading_bpts()

"void" dbg_finished_loading_bpts ( self,
* args )

◆ dbg_information()

"void" dbg_information ( self,
* args )
Parameters
event(const debug_event_t *)
tidthid_t
eaea_t
infochar const *

◆ dbg_library_load()

"void" dbg_library_load ( self,
* args )
Parameters
event(const debug_event_t *)
tidthid_t
eaea_t
modinfo_namechar const *
modinfo_baseea_t
modinfo_sizeasize_t

◆ dbg_library_unload()

"void" dbg_library_unload ( self,
* args )
Parameters
event(const debug_event_t *)
tidthid_t
eaea_t
infochar const *

◆ dbg_process_attach()

"void" dbg_process_attach ( self,
* args )
Parameters
event(const debug_event_t *)
Note
: This event notification is also an asynchronous function result notification for start_process() !
Parameters
tidthid_t
eaea_t
modinfo_namechar const *
modinfo_baseea_t
modinfo_sizeasize_t

◆ dbg_process_detach()

"void" dbg_process_detach ( self,
* args )
Parameters
event(const debug_event_t *)
Note
: This event notification is also an asynchronous function result notification for start_process() !
Parameters
tidthid_t
eaea_t

◆ dbg_process_exit()

"void" dbg_process_exit ( self,
* args )
Parameters
event(const debug_event_t *)
Note
: This event notification is also an asynchronous function result notification for start_process() !
Parameters
tidthid_t
eaea_t
exit_codeint

◆ dbg_process_start()

"void" dbg_process_start ( self,
* args )
Parameters
event(const debug_event_t *)
Note
: This event notification is also an asynchronous function result notification for start_process() !
Parameters
tidthid_t
eaea_t
modinfo_namechar const *
modinfo_baseea_t
modinfo_sizeasize_t

◆ dbg_request_error()

"void" dbg_request_error ( self,
* args )
Parameters
failed_command(ui_notification_t)
failed_dbg_notification(dbg_notification_t)

◆ dbg_run_to()

"void" dbg_run_to ( self,
* args )
Parameters
event(const debug_event_t *)
tidthid_t
eaea_t

◆ dbg_started_loading_bpts()

"void" dbg_started_loading_bpts ( self,
* args )

◆ dbg_step_into()

"void" dbg_step_into ( self,
* args )

◆ dbg_step_over()

"void" dbg_step_over ( self,
* args )

◆ dbg_step_until_ret()

"void" dbg_step_until_ret ( self,
* args )

◆ dbg_suspend_process()

"void" dbg_suspend_process ( self,
* args )

◆ dbg_thread_exit()

"void" dbg_thread_exit ( self,
* args )
Parameters
event(const debug_event_t *)
tidthid_t
eaea_t
exit_codeint

◆ dbg_thread_start()

"void" dbg_thread_start ( self,
* args )
Parameters
event(const debug_event_t *)
tidthid_t
eaea_t

◆ dbg_trace()

"int" dbg_trace ( self,
* args )

This event notification is only generated if step tracing is enabled.

Parameters
tid(thid_t) thread ID
ip(::ea_t) current instruction pointer. usually points after the executed instruction
Return values
1do not log this trace event
0log it

◆ hook()

"bool" hook ( self,
* args )

◆ unhook()

"bool" unhook ( self,
* args )

Property Documentation

◆ thisown

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

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