IDAPython 9.0
Loading...
Searching...
No Matches
ida_expr.py File Reference

Classes

class  idc_value_t
 
class  idc_global_t
 
class  highlighter_cbs_t
 
class  idc_values_t
 
class  _IdcFunction
 

Namespaces

namespace  ida_expr
 

Functions

str compile_idc_file (str nonnul_line)
 
str compile_idc_text (str nonnul_line)
 
'size_t' py_get_call_idc_func ()
 
'size_t' pyw_register_idc_func (str name, str args, 'PyObject *' py_fp)
 
bool pyw_unregister_idc_func ('size_t' ctxptr)
 
bool pyw_convert_defvals ('idc_values_t' out, 'PyObject *' py_seq)
 
bool py_add_idc_func (str name, 'size_t' fp_ptr, str args, 'idc_values_t' defvals, int flags)
 
str eval_expr ('idc_value_t' rv, ida_idaapi.ea_t where, str line)
 
str eval_idc_expr ('idc_value_t' rv, ida_idaapi.ea_t where, str line)
 
'error_t' idcv_long ('idc_value_t' v)
 
'error_t' idcv_int64 ('idc_value_t' v)
 
'error_t' idcv_num ('idc_value_t' v)
 
'error_t' idcv_string ('idc_value_t' v)
 
'error_t' idcv_float ('idc_value_t' v)
 
'error_t' idcv_object ('idc_value_t' v, 'idc_class_t const *' icls=None)
 
'error_t' move_idcv ('idc_value_t' dst, 'idc_value_t' src)
 
'error_t' copy_idcv ('idc_value_t' dst, 'idc_value_t' src)
 
'error_t' deep_copy_idcv ('idc_value_t' dst, 'idc_value_t' src)
 
None free_idcv ('idc_value_t' v)
 
None swap_idcvs ('idc_value_t' v1, 'idc_value_t' v2)
 
str get_idcv_class_name ('idc_value_t' obj)
 
'error_t' get_idcv_attr ('idc_value_t' res, 'idc_value_t' obj, str attr, bool may_use_getattr=False)
 
'error_t' set_idcv_attr ('idc_value_t' obj, str attr, 'idc_value_t' value, bool may_use_setattr=False)
 
'error_t' del_idcv_attr ('idc_value_t' obj, str attr)
 
str first_idcv_attr ('idc_value_t' obj)
 
str last_idcv_attr ('idc_value_t' obj)
 
str next_idcv_attr ('idc_value_t' obj, str attr)
 
str prev_idcv_attr ('idc_value_t' obj, str attr)
 
str print_idcv ('idc_value_t' v, str name=None, int indent=0)
 
'error_t' get_idcv_slice ('idc_value_t' res, 'idc_value_t' v, int i1, int i2, int flags=0)
 
'error_t' set_idcv_slice ('idc_value_t' v, int i1, int i2, 'idc_value_t' _in, int flags=0)
 
'idc_class_t *' add_idc_class (str name, 'idc_class_t const *' super=None)
 
'idc_class_t *' find_idc_class (str name)
 
'idc_value_t *' deref_idcv ('idc_value_t' v, int vref_flags)
 
bool create_idcv_ref ('idc_value_t' ref, 'idc_value_t' v)
 
'idc_value_t *' add_idc_gvar (str name)
 
'idc_value_t *' find_idc_gvar (str name)
 
str find_idc_func (str prefix, int n=0)
 
bool set_header_path (str path, bool add)
 
str get_idc_filename (str file)
 
bool exec_system_script (str file, bool complain_if_no_file=True)
 
str compile_idc_snippet (str func, str text, 'idc_resolver_t *' resolver=None, bool only_safe_funcs=False)
 
str exec_idc_script ('idc_value_t' result, str path, str func, 'idc_value_t' args, 'size_t' argsnum)
 
'error_t' throw_idc_exception ('idc_value_t' r, str desc)
 
 del_idc_func (name)
 
 add_idc_func (name, fp, args, defvals=(), flags=0)
 

Variables

 IDC_LANG_EXT = _ida_expr.IDC_LANG_EXT
 
 VARSLICE_SINGLE = _ida_expr.VARSLICE_SINGLE
 
 VREF_LOOP = _ida_expr.VREF_LOOP
 
 VREF_ONCE = _ida_expr.VREF_ONCE
 
 VREF_COPY = _ida_expr.VREF_COPY
 
 VT_LONG = _ida_expr.VT_LONG
 
 VT_FLOAT = _ida_expr.VT_FLOAT
 
 VT_WILD = _ida_expr.VT_WILD
 
 VT_OBJ = _ida_expr.VT_OBJ
 
 VT_FUNC = _ida_expr.VT_FUNC
 
 VT_STR = _ida_expr.VT_STR
 
 VT_PVOID = _ida_expr.VT_PVOID
 
 VT_INT64 = _ida_expr.VT_INT64
 
 VT_REF = _ida_expr.VT_REF
 
 eExecThrow = _ida_expr.eExecThrow
 
 HF_DEFAULT = _ida_expr.HF_DEFAULT
 
 HF_KEYWORD1 = _ida_expr.HF_KEYWORD1
 
 HF_KEYWORD2 = _ida_expr.HF_KEYWORD2
 
 HF_KEYWORD3 = _ida_expr.HF_KEYWORD3
 
 HF_STRING = _ida_expr.HF_STRING
 
 HF_COMMENT = _ida_expr.HF_COMMENT
 
 HF_PREPROC = _ida_expr.HF_PREPROC
 
 HF_NUMBER = _ida_expr.HF_NUMBER
 
 HF_USER1 = _ida_expr.HF_USER1
 
 HF_USER2 = _ida_expr.HF_USER2
 
 HF_USER3 = _ida_expr.HF_USER3
 
 HF_USER4 = _ida_expr.HF_USER4
 
 HF_MAX = _ida_expr.HF_MAX
 
 CPL_DEL_MACROS = _ida_expr.CPL_DEL_MACROS
 
 CPL_USE_LABELS = _ida_expr.CPL_USE_LABELS
 
 CPL_ONLY_SAFE = _ida_expr.CPL_ONLY_SAFE
 
int EXTFUN_BASE = 1
 
int EXTFUN_NORET = 2
 
int EXTFUN_SAFE = 4