IDAPython 9.0
Loading...
Searching...
No Matches
_notify_when_dispatcher_t._IDP_Hooks Class Reference
Inheritance diagram for _notify_when_dispatcher_t._IDP_Hooks:
IDP_Hooks

Public Member Functions

 __init__ (self, dispatcher)
 
 ev_newfile (self, name)
 
 ev_oldfile (self, name)
 
- Public Member Functions inherited from IDP_Hooks
bool hook (self)
 
bool unhook (self)
 
int ev_init (self, str idp_modname)
 
int ev_term (self)
 
int ev_newprc (self, int pnum, bool keep_cfg)
 
int ev_newasm (self, int asmnum)
 
int ev_newbinary (self, 'char *' filename, 'qoff64_t' fileoff, ida_idaapi.ea_t basepara, ida_idaapi.ea_t binoff, 'uint64' nbytes)
 
int ev_endbinary (self, bool ok)
 
int ev_set_idp_options (self, str keyword, int value_type, 'void const *' value, bool idb_loaded)
 
int ev_set_proc_options (self, str options, int confidence)
 
bool ev_ana_insn (self, 'insn_t *' out)
 
bool ev_emu_insn (self, 'insn_t const *' insn)
 
int ev_out_header (self, 'outctx_t *' outctx)
 
int ev_out_footer (self, 'outctx_t *' outctx)
 
int ev_out_segstart (self, 'outctx_t *' outctx, 'segment_t *' seg)
 
int ev_out_segend (self, 'outctx_t *' outctx, 'segment_t *' seg)
 
int ev_out_assumes (self, 'outctx_t *' outctx)
 
bool ev_out_insn (self, 'outctx_t *' outctx)
 
int ev_out_mnem (self, 'outctx_t *' outctx)
 
bool ev_out_operand (self, 'outctx_t *' outctx, 'op_t const *' op)
 
int ev_out_data (self, 'outctx_t *' outctx, bool analyze_only)
 
int ev_out_label (self, 'outctx_t *' outctx, str colored_name)
 
int ev_out_special_item (self, 'outctx_t *' outctx, 'uchar' segtype)
 
int ev_gen_regvar_def (self, 'outctx_t *' outctx, 'regvar_t *' v)
 
int ev_gen_src_file_lnnum (self, 'outctx_t *' outctx, str file, 'size_t' lnnum)
 
int ev_creating_segm (self, 'segment_t *' seg)
 
int ev_moving_segm (self, 'segment_t *' seg, ida_idaapi.ea_t to, int flags)
 
int ev_coagulate (self, ida_idaapi.ea_t start_ea)
 
int ev_undefine (self, ida_idaapi.ea_t ea)
 
int ev_treat_hindering_item (self, ida_idaapi.ea_t hindering_item_ea, 'flags64_t' new_item_flags, ida_idaapi.ea_t new_item_ea, 'asize_t' new_item_length)
 
int ev_rename (self, ida_idaapi.ea_t ea, str new_name)
 
int ev_is_far_jump (self, int icode)
 
int ev_is_sane_insn (self, 'insn_t const *' insn, int no_crefs)
 
int ev_is_cond_insn (self, 'insn_t const *' insn)
 
int ev_is_call_insn (self, 'insn_t const *' insn)
 
int ev_is_ret_insn (self, 'insn_t const *' insn, 'uchar' flags)
 
int ev_may_be_func (self, 'insn_t const *' insn, int state)
 
int ev_is_basic_block_end (self, 'insn_t const *' insn, bool call_insn_stops_block)
 
int ev_is_indirect_jump (self, 'insn_t const *' insn)
 
int ev_is_insn_table_jump (self)
 
int ev_is_switch (self, 'switch_info_t' si, 'insn_t const *' insn)
 
int ev_calc_switch_cases (self, 'casevec_t *' casevec, 'eavec_t *' targets, ida_idaapi.ea_t insn_ea, 'switch_info_t' si)
 
int ev_create_switch_xrefs (self, ida_idaapi.ea_t jumpea, 'switch_info_t' si)
 
int ev_is_align_insn (self, ida_idaapi.ea_t ea)
 
int ev_is_alloca_probe (self, ida_idaapi.ea_t ea)
 
'PyObject *' ev_delay_slot_insn (self, ida_idaapi.ea_t ea, bool bexec, bool fexec)
 
int ev_is_sp_based (self, 'int *' mode, 'insn_t const *' insn, 'op_t const *' op)
 
int ev_can_have_type (self, 'op_t const *' op)
 
int ev_cmp_operands (self, 'op_t const *' op1, 'op_t const *' op2)
 
int ev_adjust_refinfo (self, 'refinfo_t' ri, ida_idaapi.ea_t ea, int n, 'fixup_data_t const *' fd)
 
'PyObject *' ev_get_operand_string (self, 'insn_t const *' insn, int opnum)
 
'PyObject *' ev_get_reg_name (self, int reg, 'size_t' width, int reghi)
 
int ev_str2reg (self, str regname)
 
'PyObject *' ev_get_autocmt (self, 'insn_t const *' insn)
 
int ev_get_bg_color (self, 'bgcolor_t *' color, ida_idaapi.ea_t ea)
 
int ev_is_jump_func (self, 'func_t *' pfn, 'ea_t *' jump_target, 'ea_t *' func_pointer)
 
int ev_func_bounds (self, 'int *' possible_return_code, 'func_t *' pfn, ida_idaapi.ea_t max_func_end_ea)
 
int ev_verify_sp (self, 'func_t *' pfn)
 
int ev_verify_noreturn (self, 'func_t *' pfn)
 
int ev_create_func_frame (self, 'func_t *' pfn)
 
int ev_get_frame_retsize (self, 'int *' frsize, 'func_t const *' pfn)
 
int ev_get_stkvar_scale_factor (self)
 
'PyObject *' ev_demangle_name (self, str name, int disable_mask, int demreq)
 
int ev_add_cref (self, ida_idaapi.ea_t _from, ida_idaapi.ea_t to, 'cref_t' type)
 
int ev_add_dref (self, ida_idaapi.ea_t _from, ida_idaapi.ea_t to, 'dref_t' type)
 
int ev_del_cref (self, ida_idaapi.ea_t _from, ida_idaapi.ea_t to, bool expand)
 
int ev_del_dref (self, ida_idaapi.ea_t _from, ida_idaapi.ea_t to)
 
int ev_coagulate_dref (self, ida_idaapi.ea_t _from, ida_idaapi.ea_t to, bool may_define, 'ea_t *' code_ea)
 
int ev_may_show_sreg (self, ida_idaapi.ea_t current_ea)
 
int ev_auto_queue_empty (self, 'atype_t' type)
 
int ev_validate_flirt_func (self, ida_idaapi.ea_t start_ea, str funcname)
 
int ev_adjust_libfunc_ea (self, 'idasgn_t const *' sig, 'libfunc_t const *' libfun, 'ea_t *' ea)
 
'PyObject *' ev_assemble (self, ida_idaapi.ea_t ea, ida_idaapi.ea_t cs, ida_idaapi.ea_t ip, bool use32, str line)
 
int ev_extract_address (self, 'ea_t *' out_ea, ida_idaapi.ea_t screen_ea, str string, 'size_t' position)
 
int ev_realcvt (self, 'void *' m, 'fpvalue_t *' e, 'uint16' swt)
 
int ev_gen_asm_or_lst (self, bool starting, 'FILE *' fp, bool is_asm, int flags, 'html_line_cb_t **' outline)
 
int ev_gen_map_file (self, 'int *' nlines, 'FILE *' fp)
 
int ev_create_flat_group (self, ida_idaapi.ea_t image_base, int bitness, 'sel_t' dataseg_sel)
 
int ev_getreg (self, 'uval_t *' regval, int regnum)
 
int ev_analyze_prolog (self, ida_idaapi.ea_t ea)
 
int ev_calc_spdelta (self, 'sval_t *' spdelta, 'insn_t const *' insn)
 
int ev_calcrel (self)
 
'PyObject *' ev_find_reg_value (self, 'insn_t const *' pinsn, int reg)
 
'PyObject *' ev_find_op_value (self, 'insn_t const *' pinsn, int opn)
 
int ev_replaying_undo (self, str action_name, 'undo_records_t const *' vec, bool is_undo)
 
int ev_ending_undo (self, str action_name, bool is_undo)
 
int ev_set_code16_mode (self, ida_idaapi.ea_t ea, bool code16)
 
int ev_get_code16_mode (self, ida_idaapi.ea_t ea)
 
int ev_get_procmod (self)
 
int ev_asm_installed (self, int asmnum)
 
int ev_get_reg_accesses (self, 'reg_accesses_t' accvec, 'insn_t const *' insn, int flags)
 
int ev_is_control_flow_guard (self, 'int *' p_reg, 'insn_t const *' insn)
 
int ev_create_merge_handlers (self, 'merge_data_t *' md)
 
int ev_privrange_changed (self, 'range_t' old_privrange, 'adiff_t' delta)
 
int ev_cvt64_supval (self, 'nodeidx_t' node, 'uchar' tag, 'nodeidx_t' idx, 'uchar const *' data)
 
int ev_cvt64_hashval (self, 'nodeidx_t' node, 'uchar' tag, str name, 'uchar const *' data)
 
int ev_gen_stkvar_def (self, 'outctx_t *' outctx, 'udm_t' stkvar, int v, 'tid_t' tid)
 
int ev_next_exec_insn (self, 'ea_t *' target, ida_idaapi.ea_t ea, int tid, 'processor_t::regval_getter_t *' getreg, 'regval_t' regvalues)
 
int ev_calc_step_over (self, 'ea_t *' target, ida_idaapi.ea_t ip)
 
int ev_calc_next_eas (self, 'eavec_t *' res, 'insn_t const *' insn, bool over)
 
int ev_get_macro_insn_head (self, 'ea_t *' head, ida_idaapi.ea_t ip)
 
int ev_get_dbr_opnum (self, 'int *' opnum, 'insn_t const *' insn)
 
int ev_insn_reads_tbit (self, 'insn_t const *' insn, 'processor_t::regval_getter_t *' getreg, 'regval_t' regvalues)
 
int ev_clean_tbit (self, ida_idaapi.ea_t ea, 'processor_t::regval_getter_t *' getreg, 'regval_t' regvalues)
 
int ev_get_reg_info (self, 'char const **' main_regname, 'bitrange_t' bitrange, str regname)
 
int ev_update_call_stack (self, 'call_stack_t' stack, int tid, 'processor_t::regval_getter_t *' getreg, 'regval_t' regvalues)
 
int ev_setup_til (self)
 
int ev_get_abi_info (self, 'comp_t' comp)
 
int ev_max_ptr_size (self)
 
int ev_get_default_enum_size (self)
 
int ev_get_cc_regs (self, 'callregs_t' regs, 'cm_t' cc)
 
int ev_get_simd_types (self, 'simd_info_vec_t *' out, 'simd_info_t' simd_attrs, 'argloc_t' argloc, bool create_tifs)
 
int ev_calc_cdecl_purged_bytes (self, ida_idaapi.ea_t ea)
 
int ev_calc_purged_bytes (self, 'int *' p_purged_bytes, 'func_type_data_t' fti)
 
int ev_calc_retloc (self, 'argloc_t' retloc, 'tinfo_t' rettype, 'cm_t' cc)
 
int ev_calc_arglocs (self, 'func_type_data_t' fti)
 
int ev_calc_varglocs (self, 'func_type_data_t' ftd, 'regobjs_t' aux_regs, 'relobj_t' aux_stkargs, int nfixed)
 
int ev_adjust_argloc (self, 'argloc_t' argloc, 'tinfo_t' optional_type, int size)
 
int ev_lower_func_type (self, 'intvec_t *' argnums, 'func_type_data_t' fti)
 
int ev_equal_reglocs (self, 'argloc_t' a1, 'argloc_t' a2)
 
int ev_use_stkarg_type (self, ida_idaapi.ea_t ea, 'funcarg_t' arg)
 
'PyObject *' ev_use_regarg_type (self, ida_idaapi.ea_t ea, 'funcargvec_t const *' rargs)
 
int ev_use_arg_types (self, ida_idaapi.ea_t ea, 'func_type_data_t' fti, 'funcargvec_t *' rargs)
 
int ev_arg_addrs_ready (self, ida_idaapi.ea_t caller, int n, 'tinfo_t' tif, 'ea_t *' addrs)
 
'PyObject *' ev_decorate_name (self, str name, bool mangle, int cc, 'tinfo_t' optional_type)
 
int ev_arch_changed (self)
 
int ev_get_stkarg_area_info (self, 'stkarg_area_info_t' out, 'cm_t' cc)
 
int ev_last_cb_before_loader (self)
 
int ev_loader (self)
 
 __disown__ (self)
 

Public Attributes

 dispatcher = weakref.ref(dispatcher)
 

Additional Inherited Members

- Properties inherited from IDP_Hooks
 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
dispatcher )

Reimplemented from IDP_Hooks.

Member Function Documentation

◆ ev_newfile()

ev_newfile ( self,
fname )
A new file has been loaded. 
  
@param fname: (char *) input file name

Reimplemented from IDP_Hooks.

◆ ev_oldfile()

ev_oldfile ( self,
fname )
An old file has been loaded. 
  
@param fname: (char *) input file name

Reimplemented from IDP_Hooks.

Member Data Documentation

◆ dispatcher

dispatcher = weakref.ref(dispatcher)

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