|
"qstring *" | compile_idc_file ("char const *" nonnul_line) |
| compile_idc_file(nonnul_line) -> str
|
|
"qstring *" | compile_idc_text ("char const *" nonnul_line) |
| compile_idc_text(nonnul_line) -> str
|
|
"size_t" | py_get_call_idc_func () |
| py_get_call_idc_func() -> size_t
|
|
"size_t" | pyw_register_idc_func ("char const *" name, "char const *" args, "PyObject *" py_fp) |
| pyw_register_idc_func(name, args, py_fp) -> size_t
|
|
"bool" | pyw_unregister_idc_func ("size_t" ctxptr) |
| pyw_unregister_idc_func(ctxptr) -> bool
|
|
"bool" | pyw_convert_defvals ("idc_values_t" out, "PyObject *" py_seq) |
| pyw_convert_defvals(out, py_seq) -> bool
|
|
"bool" | py_add_idc_func ("char const *" name, "size_t" fp_ptr, "char const *" args, "idc_values_t" defvals, "int" flags) |
| py_add_idc_func(name, fp_ptr, args, defvals, flags) -> bool
|
|
"qstring *" | eval_expr ("idc_value_t" rv, "ea_t" where, "char const *" line) |
| eval_expr(rv, where, line) -> str Compile and calculate an expression.
|
|
"qstring *" | eval_idc_expr ("idc_value_t" rv, "ea_t" where, "char const *" line) |
| eval_idc_expr(rv, where, line) -> str Same as eval_expr(), but will always use the IDC interpreter regardless of the currently installed extlang.
|
|
"error_t" | idcv_long ("idc_value_t" v) |
| idcv_long(v) -> error_t Convert IDC variable to a long (32/64bit) number.
|
|
"error_t" | idcv_int64 ("idc_value_t" v) |
| idcv_int64(v) -> error_t Convert IDC variable to a 64bit number.
|
|
"error_t" | idcv_num ("idc_value_t" v) |
| idcv_num(v) -> error_t Convert IDC variable to a long number.
|
|
"error_t" | idcv_string ("idc_value_t" v) |
| idcv_string(v) -> error_t Convert IDC variable to a text string.
|
|
"error_t" | idcv_float ("idc_value_t" v) |
| idcv_float(v) -> error_t Convert IDC variable to a floating point.
|
|
"error_t" | idcv_object ("idc_value_t" v, "idc_class_t const *" icls=None) |
| idcv_object(v, icls=None) -> error_t Create an IDC object.
|
|
"error_t" | move_idcv ("idc_value_t" dst, "idc_value_t" src) |
| move_idcv(dst, src) -> error_t Move 'src' to 'dst'.
|
|
"error_t" | copy_idcv ("idc_value_t" dst, "idc_value_t" src) |
| copy_idcv(dst, src) -> error_t Copy 'src' to 'dst'.
|
|
"error_t" | deep_copy_idcv ("idc_value_t" dst, "idc_value_t" src) |
| deep_copy_idcv(dst, src) -> error_t Deep copy an IDC object.
|
|
"void" | free_idcv ("idc_value_t" v) |
| free_idcv(v) Free storage used by VT_STR/VT_OBJ IDC variables.
|
|
"void" | swap_idcvs ("idc_value_t" v1, "idc_value_t" v2) |
| swap_idcvs(v1, v2) Swap 2 variables.
|
|
"qstring *" | get_idcv_class_name ("idc_value_t" obj) |
| get_idcv_class_name(obj) -> str Retrieves the IDC object class name.
|
|
"error_t" | get_idcv_attr ("idc_value_t" res, "idc_value_t" obj, "char const *" attr, "bool" may_use_getattr=False) |
| get_idcv_attr(res, obj, attr, may_use_getattr=False) -> error_t Get an object attribute.
|
|
"error_t" | set_idcv_attr ("idc_value_t" obj, "char const *" attr, "idc_value_t" value, "bool" may_use_setattr=False) |
| set_idcv_attr(obj, attr, value, may_use_setattr=False) -> error_t Set an object attribute.
|
|
"error_t" | del_idcv_attr ("idc_value_t" obj, "char const *" attr) |
| del_idcv_attr(obj, attr) -> error_t Delete an object attribute.
|
|
"char const *" | first_idcv_attr ("idc_value_t" obj) |
| first_idcv_attr(obj) -> char const *
|
|
"char const *" | last_idcv_attr ("idc_value_t" obj) |
| last_idcv_attr(obj) -> char const *
|
|
"char const *" | next_idcv_attr ("idc_value_t" obj, "char const *" attr) |
| next_idcv_attr(obj, attr) -> char const *
|
|
"char const *" | prev_idcv_attr ("idc_value_t" obj, "char const *" attr) |
| prev_idcv_attr(obj, attr) -> char const *
|
|
"qstring *" | print_idcv ("idc_value_t" v, "char const *" name=None, "int" indent=0) |
| print_idcv(v, name=None, indent=0) -> bool Get text representation of idc_value_t.
|
|
"error_t" | get_idcv_slice ("idc_value_t" res, "idc_value_t" v, "uval_t" i1, "uval_t" i2, "int" flags=0) |
| get_idcv_slice(res, v, i1, i2, flags=0) -> error_t Get slice.
|
|
"error_t" | set_idcv_slice ("idc_value_t" v, "uval_t" i1, "uval_t" i2, "idc_value_t" _in, "int" flags=0) |
| set_idcv_slice(v, i1, i2, _in, flags=0) -> error_t Set slice.
|
|
"idc_class_t *" | add_idc_class ("char const *" name, "idc_class_t const *" super=None) |
| add_idc_class(name, super=None) -> idc_class_t Create a new IDC class.
|
|
"idc_class_t *" | find_idc_class ("char const *" name) |
| find_idc_class(name) -> idc_class_t * Find an existing IDC class by its name.
|
|
"idc_value_t *" | deref_idcv ("idc_value_t" v, "int" vref_flags) |
| deref_idcv(v, vref_flags) -> idc_value_t Dereference a VT_REF variable.
|
|
"bool" | create_idcv_ref ("idc_value_t" ref, "idc_value_t" v) |
| create_idcv_ref(ref, v) -> bool Create a variable reference.
|
|
"idc_value_t *" | add_idc_gvar ("char const *" name) |
| add_idc_gvar(name) -> idc_value_t Add global IDC variable.
|
|
"idc_value_t *" | find_idc_gvar ("char const *" name) |
| find_idc_gvar(name) -> idc_value_t Find an existing global IDC variable by its name.
|
|
"qstring *" | find_idc_func ("char const *" prefix, "int" n=0) |
| find_idc_func(prefix, n=0) -> bool
|
|
"bool" | set_header_path ("char const *" path, "bool" add) |
| set_header_path(path, add) -> bool Set or append a header path.
|
|
"char const *" | get_idc_filename ("char const *" file) |
| get_idc_filename(file) -> str Get full name of IDC file name.
|
|
"bool" | exec_system_script ("char const *" file, "bool" complain_if_no_file=True) |
| exec_system_script(file, complain_if_no_file=True) -> bool Compile and execute "main" function from system file.
|
|
"qstring *" | compile_idc_snippet ("char const *" func, "char const *" text, "idc_resolver_t *" resolver=None, "bool" only_safe_funcs=False) |
| compile_idc_snippet(func, text, resolver=None, only_safe_funcs=False) -> bool Compile text with IDC statements.
|
|
"qstring *" | exec_idc_script ("idc_value_t" result, "char const *" path, "char const *" func, "idc_value_t" args, "size_t" argsnum) |
| exec_idc_script(result, path, func, args, argsnum) -> str Compile and execute IDC function(s) from file.
|
|
"error_t" | throw_idc_exception ("idc_value_t" r, "char const *" desc) |
| throw_idc_exception(r, desc) -> error_t Create an idc execution exception object.
|
|
| del_idc_func (name) |
| Unregisters the specified IDC function.
|
|
| add_idc_func (name, fp, args, defvals=(), flags=0) |
| Extends the IDC language by exposing a new IDC function that is backed up by a Python function.
|
|