mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-24 01:59:18 +01:00
109158fabb
- Added AskUsingForm() with embedded forms support (check ex_askusingform.py example and formchooser.py in the SDK) - Added idautils.DecodePreviousInstruction() / DecodePrecedingInstruction() - Added idc.BeginTypeUpdating() / EndTypeUpdating() for fast batch type update operations - Added more IDP callbacks - Added UI_Hooks with a few notification events - Added idaapi.process_ui_action() / idc.ProcessUiAction() - Added netnode.index() to get netnode number - Better handling of ea_t values with bitwise negation - Execute statement hotkey (Ctrl-F3), script timeout, and other options are now configurable with Python.cfg - bugfix: idaapi.msg() / error() and warning() so they don't accept vararg - bugfix: processor_t.id constants were incorrect - bugfix: get_debug_names() was broken with IDA64 - Various bugfixes
100 lines
2.4 KiB
OpenEdge ABL
100 lines
2.4 KiB
OpenEdge ABL
%ignore extfun_t;
|
|
%ignore funcset_t;
|
|
%ignore extlang_t;
|
|
%ignore extlang;
|
|
%ignore extlangs_t;
|
|
%ignore extlangs;
|
|
%ignore register_extlang;
|
|
%ignore IDCFuncs;
|
|
%ignore set_idc_func;
|
|
%ignore set_idc_func_ex;
|
|
%ignore VarLong;
|
|
%ignore VarNum;
|
|
%ignore extlang_get_attr_exists;
|
|
%ignore extlang_create_object_exists;
|
|
%ignore create_script_object;
|
|
%ignore set_script_attr;
|
|
%ignore set_attr_exists;
|
|
%ignore get_script_attr;
|
|
%ignore extlang_get_attr_exists;
|
|
%ignore extlang_compile_file;
|
|
%ignore get_extlangs;
|
|
%ignore create_idc_object;
|
|
%ignore run_script_func;
|
|
%ignore VarString;
|
|
%ignore VarFloat;
|
|
%ignore VarFree;
|
|
%ignore calcexpr_long;
|
|
%ignore Run;
|
|
%ignore ExecuteLine;
|
|
%ignore ExecuteFile;
|
|
%ignore set_idc_func_body;
|
|
%ignore get_idc_func_body;
|
|
%ignore idc_stacksize;
|
|
%ignore idc_calldepth;
|
|
%ignore expr_printf;
|
|
%ignore expr_sprintf;
|
|
%ignore expr_printfer;
|
|
%ignore init_idc;
|
|
%ignore term_idc;
|
|
%ignore create_default_idc_classes;
|
|
%ignore insn_to_idc;
|
|
%ignore find_builtin_idc_func;
|
|
%ignore idc_mutex;
|
|
%ignore idc_lx;
|
|
%ignore idc_vars;
|
|
%ignore idc_resolve_label;
|
|
%ignore idc_resolver_ea;
|
|
%ignore setup_lowcnd_regfuncs;
|
|
|
|
%cstring_output_maxstr_none(char *errbuf, size_t errbufsize);
|
|
|
|
/* Compile* functions return false when error so the return */
|
|
/* value must be negated for the error string to be returned */
|
|
%rename (CompileEx) CompileEx_wrap;
|
|
%inline %{
|
|
bool CompileEx_wrap(const char *file, bool del_macros,
|
|
char *errbuf, size_t errbufsize)
|
|
{
|
|
return !CompileEx(file, del_macros, errbuf, errbufsize);
|
|
}
|
|
%}
|
|
|
|
%rename (Compile) Compile_wrap;
|
|
%inline %{
|
|
bool Compile_wrap(const char *file, char *errbuf, size_t errbufsize)
|
|
{
|
|
return !Compile(file, errbuf, errbufsize);
|
|
}
|
|
%}
|
|
|
|
%rename (calcexpr) calcexpr_wrap;
|
|
%inline %{
|
|
bool calcexpr_wrap(ea_t where,const char *line, idc_value_t *rv, char *errbuf, size_t errbufsize)
|
|
{
|
|
return !calcexpr(where, line, rv, errbuf, errbufsize);
|
|
}
|
|
%}
|
|
|
|
%rename (calc_idc_expr) calc_idc_expr_wrap;
|
|
%inline %{
|
|
bool calc_idc_expr_wrap(ea_t where,const char *line, idc_value_t *rv, char *errbuf, size_t errbufsize)
|
|
{
|
|
return !calc_idc_expr(where, line, rv, errbuf, errbufsize);
|
|
}
|
|
%}
|
|
|
|
%ignore CompileLine(const char *line, char *errbuf, size_t errbufsize, uval_t (idaapi*_getname)(const char *name)=NULL);
|
|
%ignore CompileLineEx;
|
|
|
|
%rename (CompileLine) CompileLine_wrap;
|
|
%inline %{
|
|
bool CompileLine_wrap(const char *line, char *errbuf, size_t errbufsize)
|
|
{
|
|
return !CompileLineEx(line, errbuf, errbufsize);
|
|
}
|
|
%}
|
|
|
|
%include "expr.hpp"
|
|
|