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

Public Member Functions

bool is_remote (self)
 
bool must_have_hostname (self)
 
bool can_continue_from_bpt (self)
 
bool may_disturb (self)
 
bool is_safe (self)
 
bool use_sregs (self)
 
'size_t' cache_block_size (self)
 
bool use_memregs (self)
 
bool may_take_exit_snapshot (self)
 
bool virtual_threads (self)
 
bool supports_lowcnds (self)
 
bool supports_debthread (self)
 
bool can_debug_standalone_dlls (self)
 
bool fake_memory (self)
 
bool is_ttd (self)
 
bool has_get_processes (self)
 
bool has_attach_process (self)
 
bool has_detach_process (self)
 
bool has_request_pause (self)
 
bool has_set_exception_info (self)
 
bool has_thread_suspend (self)
 
bool has_thread_continue (self)
 
bool has_set_resume_mode (self)
 
bool has_thread_get_sreg_base (self)
 
bool has_check_bpt (self)
 
bool has_open_file (self)
 
bool has_update_call_stack (self)
 
bool has_appcall (self)
 
bool has_rexec (self)
 
bool has_map_address (self)
 
bool has_soft_bpt (self)
 
'register_info_t &' regs (self, int idx)
 
bool is_resmod_avail (self, int resmod)
 
bool init_debugger (self, str hostname, int portnum, str password)
 
bool term_debugger (self)
 
'drc_t' get_processes (self, 'procinfo_vec_t' procs)
 
'drc_t' start_process (self, str path, str args, 'launch_env_t' envs, str startdir, int dbg_proc_flags, str input_path, int input_file_crc32)
 
'drc_t' attach_process (self, 'pid_t' pid, int event_id, int dbg_proc_flags)
 
'drc_t' detach_process (self)
 
bool get_debapp_attrs (self, 'debapp_attrs_t' out_pattrs)
 
None rebase_if_required_to (self, ida_idaapi.ea_t new_base)
 
'drc_t' request_pause (self)
 
'drc_t' exit_process (self)
 
'gdecode_t' get_debug_event (self, 'debug_event_t' event, int timeout_ms)
 
'drc_t' resume (self, 'debug_event_t' event)
 
'drc_t' set_backwards (self, bool backwards)
 
None set_exception_info (self, 'exception_info_t' info, int qty)
 
None suspended (self, bool dlls_added, 'thread_name_vec_t *' thr_names=None)
 
'drc_t' thread_suspend (self, 'thid_t' tid)
 
'drc_t' thread_continue (self, 'thid_t' tid)
 
'drc_t' set_resume_mode (self, 'thid_t' tid, 'resume_mode_t' resmod)
 
'drc_t' read_registers (self, 'thid_t' tid, int clsmask, 'regval_t' values)
 
'drc_t' write_register (self, 'thid_t' tid, int regidx, 'regval_t' value)
 
'drc_t' thread_get_sreg_base (self, 'ea_t *' answer, 'thid_t' tid, int sreg_value)
 
'drc_t' get_memory_info (self, 'meminfo_vec_t' ranges)
 
'drc_t' read_memory (self, 'size_t *' nbytes, ida_idaapi.ea_t ea, 'void *' buffer, 'size_t' size)
 
'drc_t' write_memory (self, 'size_t *' nbytes, ida_idaapi.ea_t ea, 'void const *' buffer, 'size_t' size)
 
'drc_t' check_bpt (self, 'int *' bptvc, 'bpttype_t' type, ida_idaapi.ea_t ea, int len)
 
'drc_t' update_bpts (self, 'int *' nbpts, 'update_bpt_info_t *' bpts, int nadd, int ndel)
 
'drc_t' update_lowcnds (self, 'int *' nupdated, 'lowcnd_t const *' lowcnds, int nlowcnds)
 
int open_file (self, str file, 'uint64 *' fsize, bool readonly)
 
None close_file (self, int fn)
 
'ssize_t' read_file (self, int fn, 'qoff64_t' off, 'void *' buf, 'size_t' size)
 
'ssize_t' write_file (self, int fn, 'qoff64_t' off, 'void const *' buf)
 
ida_idaapi.ea_t map_address (self, ida_idaapi.ea_t off, 'regval_t' regs, int regnum)
 
'void const *' get_debmod_extensions (self)
 
'drc_t' update_call_stack (self, 'thid_t' tid, 'call_stack_t' trace)
 
'drc_t' cleanup_appcall (self, 'thid_t' tid)
 
'drc_t' eval_lowcnd (self, 'thid_t' tid, ida_idaapi.ea_t ea)
 
'drc_t' send_ioctl (self, int fn, 'void const *' buf, 'void **' poutbuf, 'ssize_t *' poutsize)
 
bool dbg_enable_trace (self, 'thid_t' tid, bool enable, int trace_flags)
 
bool is_tracing_enabled (self, 'thid_t' tid, int tracebit)
 
int rexec (self, str cmdline)
 
bool get_srcinfo_path (self, str path, ida_idaapi.ea_t base)
 
'drc_t' bin_search (self, ida_idaapi.ea_t start_ea, ida_idaapi.ea_t end_ea, 'compiled_binpat_vec_t const &' data, int srch_flags)
 
bool get_dynamic_register_set (self, 'dynamic_register_set_t *' regset)
 
bool have_set_options (self)
 
 __init__ (self)
 

Static Public Attributes

str version
 
str name
 
str id
 
str processor
 
str flags
 
str default_regclasses
 
str memory_page_size
 
str bpt_size
 
str filetype
 
str resume_modes
 
 ev_init_debugger = _ida_idd.debugger_t_ev_init_debugger
 
 ev_term_debugger = _ida_idd.debugger_t_ev_term_debugger
 
 ev_get_processes = _ida_idd.debugger_t_ev_get_processes
 
 ev_start_process = _ida_idd.debugger_t_ev_start_process
 
 ev_attach_process = _ida_idd.debugger_t_ev_attach_process
 
 ev_detach_process = _ida_idd.debugger_t_ev_detach_process
 
 ev_get_debapp_attrs = _ida_idd.debugger_t_ev_get_debapp_attrs
 
 ev_rebase_if_required_to = _ida_idd.debugger_t_ev_rebase_if_required_to
 
 ev_request_pause = _ida_idd.debugger_t_ev_request_pause
 
 ev_exit_process = _ida_idd.debugger_t_ev_exit_process
 
 ev_get_debug_event = _ida_idd.debugger_t_ev_get_debug_event
 
 ev_resume = _ida_idd.debugger_t_ev_resume
 
 ev_set_backwards = _ida_idd.debugger_t_ev_set_backwards
 
 ev_set_exception_info = _ida_idd.debugger_t_ev_set_exception_info
 
 ev_suspended = _ida_idd.debugger_t_ev_suspended
 
 ev_thread_suspend = _ida_idd.debugger_t_ev_thread_suspend
 
 ev_thread_continue = _ida_idd.debugger_t_ev_thread_continue
 
 ev_set_resume_mode = _ida_idd.debugger_t_ev_set_resume_mode
 
 ev_read_registers = _ida_idd.debugger_t_ev_read_registers
 
 ev_write_register = _ida_idd.debugger_t_ev_write_register
 
 ev_thread_get_sreg_base = _ida_idd.debugger_t_ev_thread_get_sreg_base
 
 ev_get_memory_info = _ida_idd.debugger_t_ev_get_memory_info
 
 ev_read_memory = _ida_idd.debugger_t_ev_read_memory
 
 ev_write_memory = _ida_idd.debugger_t_ev_write_memory
 
 ev_check_bpt = _ida_idd.debugger_t_ev_check_bpt
 
 ev_update_bpts = _ida_idd.debugger_t_ev_update_bpts
 
 ev_update_lowcnds = _ida_idd.debugger_t_ev_update_lowcnds
 
 ev_open_file = _ida_idd.debugger_t_ev_open_file
 
 ev_close_file = _ida_idd.debugger_t_ev_close_file
 
 ev_read_file = _ida_idd.debugger_t_ev_read_file
 
 ev_write_file = _ida_idd.debugger_t_ev_write_file
 
 ev_map_address = _ida_idd.debugger_t_ev_map_address
 
 ev_get_debmod_extensions = _ida_idd.debugger_t_ev_get_debmod_extensions
 
 ev_update_call_stack = _ida_idd.debugger_t_ev_update_call_stack
 
 ev_appcall = _ida_idd.debugger_t_ev_appcall
 
 ev_cleanup_appcall = _ida_idd.debugger_t_ev_cleanup_appcall
 
 ev_eval_lowcnd = _ida_idd.debugger_t_ev_eval_lowcnd
 
 ev_send_ioctl = _ida_idd.debugger_t_ev_send_ioctl
 
 ev_dbg_enable_trace = _ida_idd.debugger_t_ev_dbg_enable_trace
 
 ev_is_tracing_enabled = _ida_idd.debugger_t_ev_is_tracing_enabled
 
 ev_rexec = _ida_idd.debugger_t_ev_rexec
 
 ev_get_srcinfo_path = _ida_idd.debugger_t_ev_get_srcinfo_path
 
 ev_bin_search = _ida_idd.debugger_t_ev_bin_search
 
tuple ev_get_dynamic_register_set
 
 ev_set_dbg_options = _ida_idd.debugger_t_ev_set_dbg_options
 

Properties

 thisown
 
 registers = property(__get_registers)
 
 nregisters = property(__get_nregisters)
 
 regclasses = property(__get_regclasses)
 
 bpt_bytes = property(__get_bpt_bytes)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Member Function Documentation

◆ attach_process()

'drc_t' attach_process ( self,
'pid_t' pid,
int event_id,
int dbg_proc_flags )

◆ bin_search()

'drc_t' bin_search ( self,
ida_idaapi.ea_t start_ea,
ida_idaapi.ea_t end_ea,
'compiled_binpat_vec_t const &' data,
int srch_flags )

◆ cache_block_size()

'size_t' cache_block_size ( self)

◆ can_continue_from_bpt()

bool can_continue_from_bpt ( self)

◆ can_debug_standalone_dlls()

bool can_debug_standalone_dlls ( self)

◆ check_bpt()

'drc_t' check_bpt ( self,
'int *' bptvc,
'bpttype_t' type,
ida_idaapi.ea_t ea,
int len )

◆ cleanup_appcall()

'drc_t' cleanup_appcall ( self,
'thid_t' tid )

◆ close_file()

None close_file ( self,
int fn )

◆ dbg_enable_trace()

bool dbg_enable_trace ( self,
'thid_t' tid,
bool enable,
int trace_flags )

◆ detach_process()

'drc_t' detach_process ( self)

◆ eval_lowcnd()

'drc_t' eval_lowcnd ( self,
'thid_t' tid,
ida_idaapi.ea_t ea )

◆ exit_process()

'drc_t' exit_process ( self)

◆ fake_memory()

bool fake_memory ( self)

◆ get_debapp_attrs()

bool get_debapp_attrs ( self,
'debapp_attrs_t' out_pattrs )

◆ get_debmod_extensions()

'void const *' get_debmod_extensions ( self)

◆ get_debug_event()

'gdecode_t' get_debug_event ( self,
'debug_event_t' event,
int timeout_ms )

◆ get_dynamic_register_set()

bool get_dynamic_register_set ( self,
'dynamic_register_set_t *' regset )

◆ get_memory_info()

'drc_t' get_memory_info ( self,
'meminfo_vec_t' ranges )

◆ get_processes()

'drc_t' get_processes ( self,
'procinfo_vec_t' procs )

◆ get_srcinfo_path()

bool get_srcinfo_path ( self,
str path,
ida_idaapi.ea_t base )

◆ has_appcall()

bool has_appcall ( self)

◆ has_attach_process()

bool has_attach_process ( self)

◆ has_check_bpt()

bool has_check_bpt ( self)

◆ has_detach_process()

bool has_detach_process ( self)

◆ has_get_processes()

bool has_get_processes ( self)

◆ has_map_address()

bool has_map_address ( self)

◆ has_open_file()

bool has_open_file ( self)

◆ has_request_pause()

bool has_request_pause ( self)

◆ has_rexec()

bool has_rexec ( self)

◆ has_set_exception_info()

bool has_set_exception_info ( self)

◆ has_set_resume_mode()

bool has_set_resume_mode ( self)

◆ has_soft_bpt()

bool has_soft_bpt ( self)

◆ has_thread_continue()

bool has_thread_continue ( self)

◆ has_thread_get_sreg_base()

bool has_thread_get_sreg_base ( self)

◆ has_thread_suspend()

bool has_thread_suspend ( self)

◆ has_update_call_stack()

bool has_update_call_stack ( self)

◆ have_set_options()

bool have_set_options ( self)

◆ init_debugger()

bool init_debugger ( self,
str hostname,
int portnum,
str password )

◆ is_remote()

bool is_remote ( self)

◆ is_resmod_avail()

bool is_resmod_avail ( self,
int resmod )

◆ is_safe()

bool is_safe ( self)

◆ is_tracing_enabled()

bool is_tracing_enabled ( self,
'thid_t' tid,
int tracebit )

◆ is_ttd()

bool is_ttd ( self)

◆ map_address()

ida_idaapi.ea_t map_address ( self,
ida_idaapi.ea_t off,
'regval_t' regs,
int regnum )

◆ may_disturb()

bool may_disturb ( self)

◆ may_take_exit_snapshot()

bool may_take_exit_snapshot ( self)

◆ must_have_hostname()

bool must_have_hostname ( self)

◆ open_file()

int open_file ( self,
str file,
'uint64 *' fsize,
bool readonly )

◆ read_file()

'ssize_t' read_file ( self,
int fn,
'qoff64_t' off,
'void *' buf,
'size_t' size )

◆ read_memory()

'drc_t' read_memory ( self,
'size_t *' nbytes,
ida_idaapi.ea_t ea,
'void *' buffer,
'size_t' size )

◆ read_registers()

'drc_t' read_registers ( self,
'thid_t' tid,
int clsmask,
'regval_t' values )

◆ rebase_if_required_to()

None rebase_if_required_to ( self,
ida_idaapi.ea_t new_base )

◆ regs()

'register_info_t &' regs ( self,
int idx )

◆ request_pause()

'drc_t' request_pause ( self)

◆ resume()

'drc_t' resume ( self,
'debug_event_t' event )

◆ rexec()

int rexec ( self,
str cmdline )

◆ send_ioctl()

'drc_t' send_ioctl ( self,
int fn,
'void const *' buf,
'void **' poutbuf,
'ssize_t *' poutsize )

◆ set_backwards()

'drc_t' set_backwards ( self,
bool backwards )

◆ set_exception_info()

None set_exception_info ( self,
'exception_info_t' info,
int qty )

◆ set_resume_mode()

'drc_t' set_resume_mode ( self,
'thid_t' tid,
'resume_mode_t' resmod )

◆ start_process()

'drc_t' start_process ( self,
str path,
str args,
'launch_env_t' envs,
str startdir,
int dbg_proc_flags,
str input_path,
int input_file_crc32 )

◆ supports_debthread()

bool supports_debthread ( self)

◆ supports_lowcnds()

bool supports_lowcnds ( self)

◆ suspended()

None suspended ( self,
bool dlls_added,
'thread_name_vec_t *' thr_names = None )

◆ term_debugger()

bool term_debugger ( self)

◆ thread_continue()

'drc_t' thread_continue ( self,
'thid_t' tid )

◆ thread_get_sreg_base()

'drc_t' thread_get_sreg_base ( self,
'ea_t *' answer,
'thid_t' tid,
int sreg_value )

◆ thread_suspend()

'drc_t' thread_suspend ( self,
'thid_t' tid )

◆ update_bpts()

'drc_t' update_bpts ( self,
'int *' nbpts,
'update_bpt_info_t *' bpts,
int nadd,
int ndel )

◆ update_call_stack()

'drc_t' update_call_stack ( self,
'thid_t' tid,
'call_stack_t' trace )

◆ update_lowcnds()

'drc_t' update_lowcnds ( self,
'int *' nupdated,
'lowcnd_t const *' lowcnds,
int nlowcnds )

◆ use_memregs()

bool use_memregs ( self)

◆ use_sregs()

bool use_sregs ( self)

◆ virtual_threads()

bool virtual_threads ( self)

◆ write_file()

'ssize_t' write_file ( self,
int fn,
'qoff64_t' off,
'void const *' buf )

◆ write_memory()

'drc_t' write_memory ( self,
'size_t *' nbytes,
ida_idaapi.ea_t ea,
'void const *' buffer,
'size_t' size )

◆ write_register()

'drc_t' write_register ( self,
'thid_t' tid,
int regidx,
'regval_t' value )

Member Data Documentation

◆ bpt_size

str bpt_size
static
Initial value:
= property(_ida_idd.debugger_t_bpt_size_get, _ida_idd
.debugger_t_bpt_size_set)

◆ default_regclasses

str default_regclasses
static
Initial value:
= property(_ida_idd.
debugger_t_default_regclasses_get, _ida_idd.
debugger_t_default_regclasses_set)

◆ ev_appcall

ev_appcall = _ida_idd.debugger_t_ev_appcall
static

◆ ev_attach_process

ev_attach_process = _ida_idd.debugger_t_ev_attach_process
static

◆ ev_bin_search

ev_bin_search = _ida_idd.debugger_t_ev_bin_search
static

◆ ev_check_bpt

ev_check_bpt = _ida_idd.debugger_t_ev_check_bpt
static

◆ ev_cleanup_appcall

ev_cleanup_appcall = _ida_idd.debugger_t_ev_cleanup_appcall
static

◆ ev_close_file

ev_close_file = _ida_idd.debugger_t_ev_close_file
static

◆ ev_dbg_enable_trace

ev_dbg_enable_trace = _ida_idd.debugger_t_ev_dbg_enable_trace
static

◆ ev_detach_process

ev_detach_process = _ida_idd.debugger_t_ev_detach_process
static

◆ ev_eval_lowcnd

ev_eval_lowcnd = _ida_idd.debugger_t_ev_eval_lowcnd
static

◆ ev_exit_process

ev_exit_process = _ida_idd.debugger_t_ev_exit_process
static

◆ ev_get_debapp_attrs

ev_get_debapp_attrs = _ida_idd.debugger_t_ev_get_debapp_attrs
static

◆ ev_get_debmod_extensions

ev_get_debmod_extensions = _ida_idd.debugger_t_ev_get_debmod_extensions
static

◆ ev_get_debug_event

ev_get_debug_event = _ida_idd.debugger_t_ev_get_debug_event
static

◆ ev_get_dynamic_register_set

tuple ev_get_dynamic_register_set
static
Initial value:
= (_ida_idd.
debugger_t_ev_get_dynamic_register_set)

◆ ev_get_memory_info

ev_get_memory_info = _ida_idd.debugger_t_ev_get_memory_info
static

◆ ev_get_processes

ev_get_processes = _ida_idd.debugger_t_ev_get_processes
static

◆ ev_get_srcinfo_path

ev_get_srcinfo_path = _ida_idd.debugger_t_ev_get_srcinfo_path
static

◆ ev_init_debugger

ev_init_debugger = _ida_idd.debugger_t_ev_init_debugger
static

◆ ev_is_tracing_enabled

ev_is_tracing_enabled = _ida_idd.debugger_t_ev_is_tracing_enabled
static

◆ ev_map_address

ev_map_address = _ida_idd.debugger_t_ev_map_address
static

◆ ev_open_file

ev_open_file = _ida_idd.debugger_t_ev_open_file
static

◆ ev_read_file

ev_read_file = _ida_idd.debugger_t_ev_read_file
static

◆ ev_read_memory

ev_read_memory = _ida_idd.debugger_t_ev_read_memory
static

◆ ev_read_registers

ev_read_registers = _ida_idd.debugger_t_ev_read_registers
static

◆ ev_rebase_if_required_to

ev_rebase_if_required_to = _ida_idd.debugger_t_ev_rebase_if_required_to
static

◆ ev_request_pause

ev_request_pause = _ida_idd.debugger_t_ev_request_pause
static

◆ ev_resume

ev_resume = _ida_idd.debugger_t_ev_resume
static

◆ ev_rexec

ev_rexec = _ida_idd.debugger_t_ev_rexec
static

◆ ev_send_ioctl

ev_send_ioctl = _ida_idd.debugger_t_ev_send_ioctl
static

◆ ev_set_backwards

ev_set_backwards = _ida_idd.debugger_t_ev_set_backwards
static

◆ ev_set_dbg_options

ev_set_dbg_options = _ida_idd.debugger_t_ev_set_dbg_options
static

◆ ev_set_exception_info

ev_set_exception_info = _ida_idd.debugger_t_ev_set_exception_info
static

◆ ev_set_resume_mode

ev_set_resume_mode = _ida_idd.debugger_t_ev_set_resume_mode
static

◆ ev_start_process

ev_start_process = _ida_idd.debugger_t_ev_start_process
static

◆ ev_suspended

ev_suspended = _ida_idd.debugger_t_ev_suspended
static

◆ ev_term_debugger

ev_term_debugger = _ida_idd.debugger_t_ev_term_debugger
static

◆ ev_thread_continue

ev_thread_continue = _ida_idd.debugger_t_ev_thread_continue
static

◆ ev_thread_get_sreg_base

ev_thread_get_sreg_base = _ida_idd.debugger_t_ev_thread_get_sreg_base
static

◆ ev_thread_suspend

ev_thread_suspend = _ida_idd.debugger_t_ev_thread_suspend
static

◆ ev_update_bpts

ev_update_bpts = _ida_idd.debugger_t_ev_update_bpts
static

◆ ev_update_call_stack

ev_update_call_stack = _ida_idd.debugger_t_ev_update_call_stack
static

◆ ev_update_lowcnds

ev_update_lowcnds = _ida_idd.debugger_t_ev_update_lowcnds
static

◆ ev_write_file

ev_write_file = _ida_idd.debugger_t_ev_write_file
static

◆ ev_write_memory

ev_write_memory = _ida_idd.debugger_t_ev_write_memory
static

◆ ev_write_register

ev_write_register = _ida_idd.debugger_t_ev_write_register
static

◆ filetype

str filetype
static
Initial value:
= property(_ida_idd.debugger_t_filetype_get, _ida_idd
.debugger_t_filetype_set)

◆ flags

str flags
static
Initial value:
= property(_ida_idd.debugger_t_flags_get, _ida_idd.
debugger_t_flags_set)

◆ id

str id
static
Initial value:
= property(_ida_idd.debugger_t_id_get, _ida_idd.debugger_t_id_set
)

◆ memory_page_size

str memory_page_size
static
Initial value:
= property(_ida_idd.
debugger_t_memory_page_size_get, _ida_idd.
debugger_t_memory_page_size_set)

◆ name

str name
static
Initial value:
= property(_ida_idd.debugger_t_name_get, _ida_idd.
debugger_t_name_set)

◆ processor

str processor
static
Initial value:
= property(_ida_idd.debugger_t_processor_get,
_ida_idd.debugger_t_processor_set)

◆ resume_modes

str resume_modes
static
Initial value:
= property(_ida_idd.debugger_t_resume_modes_get,
_ida_idd.debugger_t_resume_modes_set)

◆ version

str version
static
Initial value:
= property(_ida_idd.debugger_t_version_get, _ida_idd.
debugger_t_version_set)

Property Documentation

◆ bpt_bytes

bpt_bytes = property(__get_bpt_bytes)
static

◆ nregisters

nregisters = property(__get_nregisters)
static

◆ regclasses

regclasses = property(__get_regclasses)
static

◆ registers

registers = property(__get_registers)
static

◆ 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: