Trees | Indices | Help |
|
---|
|
IDA Plugin SDK API wrapper: expr
Classes | |
highlighter_cbs_t Proxy of C++ highlighter_cbs_t class. |
|
idc_global_t Proxy of C++ idc_global_t class. |
|
idc_value_t Proxy of C++ idc_value_t class. |
|
idc_values_t Proxy of C++ qvector< idc_value_t > class. |
Functions | |||
idc_class_t * |
|
||
|
|||
idc_value_t |
|
||
str |
|
||
str |
|
||
str |
|
||
error_t |
|
||
bool |
|
||
error_t |
|
||
|
|||
error_t |
|
||
idc_value_t |
|
||
str |
|
||
str |
|
||
str |
|
||
bool |
|
||
idc_class_t * |
|
||
str |
|
||
idc_value_t |
|
||
char const * |
|
||
|
|||
str |
|
||
error_t |
|
||
str |
|
||
error_t |
|
||
error_t |
|
||
error_t |
|
||
error_t |
|
||
error_t |
|
||
error_t |
|
||
error_t |
|
||
char const * |
|
||
error_t |
|
||
char const * |
|
||
char const * |
|
||
str |
|
||
bool |
|
||
size_t |
|
||
bool |
|
||
size_t |
|
||
bool |
|
||
bool |
|
||
error_t |
|
||
error_t |
|
||
|
|||
error_t |
|
Function Details |
Create a new IDC class.
|
Extends the IDC language by exposing a new IDC function that is backed up by a Python function @param name: IDC function name to expose @param fp: Python callable that will receive the arguments and return a tuple. @param args: Arguments. A tuple of idaapi.VT_XXX constants @param flags: IDC function flags. A combination of EXTFUN_XXX constants @return: Boolean Add an IDC function. This function does not modify the predefined kernel functions. Example: static error_t idaapi myfunc5(idc_value_t *argv, idc_value_t *res) { msg("myfunc is called with arg0=%a and arg1=%s ", argv[0].num, argv[1].str); res->num = 5; // let's return 5 return eOk; } static const char myfunc5_args[] = { VT_LONG, VT_STR, 0 }; static const ext_idcfunc_t myfunc_desc = { "MyFunc5", myfunc5, myfunc5_args, NULL, 0, EXTFUN_BASE }; // after this: add_idc_func(myfunc_desc); // there is a new IDC function which can be called like this: MyFunc5(0x123, "test"); If the function already exists, it will be replaced by the new function @return: success |
Add global IDC variable.
|
Compile text with IDC statements.
|
Copy 'src' to 'dst'. For idc objects only a reference is copied.
|
Create a variable reference. Currently only references to global variables can be created.
|
Deep copy an IDC object. This function performs deep copy of idc objects. If 'src' is not an object, 'copy_idcv()' will be called
|
Unregisters the specified IDC function
|
Delete an object attribute.
|
Dereference a 'VT_REF' variable.
|
Compile and calculate an expression.
|
Same as 'eval_expr()' , but will always use the IDC interpreter regardless of the currently installed extlang.
|
Compile and execute IDC function(s) from file.
|
Compile and execute "main" function from system file.
|
Find an existing IDC class by its name.
|
Find an existing global IDC variable by its name.
|
Free storage used by 'VT_STR' / 'VT_OBJ' IDC variables. After this call the variable has a numeric value 0
|
Get full name of IDC file name. Search for file in list of include directories, IDCPATH directory and the current directory.
|
Get an object attribute.
|
Retrieves the IDC object class name.
|
Get slice.
|
Convert IDC variable to a floating point.
|
Convert IDC variable to a 64bit number.
|
Convert IDC variable to a long (32/64bit) number.
|
Convert IDC variable to a long number.
|
Create an IDC object. The original value of 'v' is discarded (freed).
|
Convert IDC variable to a text string.
|
Move 'src' to 'dst'. This function is more effective than copy_idcv since it never copies big amounts of data.
|
Get text representation of 'idc_value_t' .
|
Set or append a header path. IDA looks for the include files in the appended header paths, then in the ida executable directory.
|
Set an object attribute.
|
Set slice.
|
Swap 2 variables.
|
Create an idc execution exception object. This helper function can be used to return an exception from C++ code to IDC. In other words this function can be called from 'idc_func_t()' callbacks. Sample usage: if ( !ok ) return throw_idc_exception(r, "detailed error msg");
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 11 15:05:11 2019 | http://epydoc.sourceforge.net |