Trees | Indices | Help |
|
---|
|
IDA Plugin SDK API wrapper: funcs
Classes | |
func_item_iterator_t Proxy of C++ func_item_iterator_t class. |
|
func_parent_iterator_t Proxy of C++ func_parent_iterator_t class. |
|
func_t Proxy of C++ func_t class. |
|
func_tail_iterator_t Proxy of C++ func_tail_iterator_t class. |
|
lock_func Proxy of C++ lock_func class. |
|
range_array Proxy of C++ dynamic_wrapped_array_t< range_t > class. |
|
regarg_t Proxy of C++ regarg_t class. |
|
regvar_array Proxy of C++ dynamic_wrapped_array_t< regvar_t > class. |
|
stkpnt_array Proxy of C++ dynamic_wrapped_array_t< stkpnt_t > class. |
Functions | |||
bool |
|
||
bool |
|
||
|
|||
bool |
|
||
int |
|
||
bool |
|
||
asize_t |
|
||
int |
|
||
ea_t |
|
||
bool |
|
||
int |
|
||
bool |
|
||
int |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
func_t |
|
||
bool |
|
||
bool |
|
||
int |
|
||
func_t |
|
||
int |
|
||
size_t |
|
||
ea_t |
|
||
func_t |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
str |
|
||
str |
|
||
int |
|
||
size_t |
|
||
ea_t |
|
||
PyObject * |
|
||
PyObject * |
|
||
int |
|
||
str |
|
||
func_t |
|
||
func_t |
|
||
ea_t |
|
||
func_t |
|
||
func_t |
|
||
ea_t |
|
||
func_t |
|
||
func_t |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
int |
|
||
|
|||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
int |
|
||
int |
|
||
bool |
|
||
bool |
|
||
|
|||
int |
|
||
bool |
|
Function Details |
Add a new function. If the function end address is 'BADADDR' , then IDA will try to determine the function bounds by calling find_func_bounds(..., 'FIND_FUNC_DEFINE' ).
|
Add a new function. If the fn->end_ea is 'BADADDR' , then IDA will try to determine the function bounds by calling find_func_bounds(..., 'FIND_FUNC_DEFINE' ).
|
Append a new tail chunk to the function definition. If the tail already exists, then it will simply be added to the function tail list Otherwise a new tail will be created and its owner will be set to be our function If a new tail cannot be created, then this function will fail.
|
Apply a signature file to the specified address.
|
Apply a startup signature file to the specified address.
|
Calculate function size. This function takes into account all fragments of the function.
|
Get state of a signature in the list of planned signatures
|
Calculate target of a thunk function.
|
Delete a function.
|
Remove signature from the list of planned signatures.
|
Determine the boundaries of a new function. This function tries to find the start and end addresses of a new function. It calls the module with \ph{func_bounds} in order to fine tune the function boundaries.
|
Does the given function contain the given address?
|
Does the function return?. To calculate the answer, 'FUNC_NORET' flag and is_noret() are consulted The latter is required for imported functions in the .idata section. Since in .idata we have only function pointers but not functions, we have to introduce a special flag for them.
|
Get number of the the current signature.
|
Get pointer to function chunk structure by address.
|
Get ordinal number of a function chunk in the global list of function chunks.
|
Get pointer to function structure by address.
|
Get function bitness (which is equal to the function segment bitness). pfn==NULL => returns 0
|
Get number of bits in the function addressing.
|
Get number of bytes in the function addressing.
|
Get the containing tail chunk of 'ea'.
|
Get function comment.
|
Get function name.
|
Get ordinal number of a function.
|
Get function ranges.
|
Get information about a signature in the list. It returns: (name of signature, names of optional libraries) See also: get_idasgn_desc_with_matches
|
Get information about a signature in the list. It returns: (name of signature, names of optional libraries, number of matches)
|
Get number of signatures in the list of planned and applied signatures.
|
Get full description of the signature by its short name.
|
Get pointer to the next function chunk in the global list.
|
Get pointer to the next function.
|
Get pointer to the previous function chunk in the global list.
|
Get pointer to the previous function.
|
Get pointer to function chunk structure by number.
|
Get pointer to function structure by number.
|
Is the function visible (event after considering 'SCF_SHHID_FUNC' )?
|
Does function describe a function entry chunk?
|
Is the function pointer locked?
|
Does function describe a function tail chunk?
|
Do two addresses belong to the same function?
|
Is the function visible (not hidden)?
|
Lock function pointer Locked pointers are guaranteed to remain valid until they are unlocked. Ranges with locked pointers cannot be deleted or moved.
|
Add a signature file to the list of planned signature files.
|
Reanalyze a function. This function plans to analyzes all chunks of the given function. Optional parameters (ea1, ea2) may be used to narrow the analyzed range.
|
Plan to reanalyze noret flag. This function does not remove FUNC_NORET if it is already present. It just plans to reanalysis.
|
Remove a function tail. If the tail belongs only to one function, it will be completely removed. Otherwise if the function was the tail owner, the first function using this tail becomes the owner of the tail.
|
Set function comment. This function works with function chunks too.
|
Move function chunk end address.
|
Give a meaningful name to function if it consists of only 'jump' instruction.
|
Move function chunk start address.
|
Signal a non-returning instruction. This function can be used by the processor module to tell the kernel about non-returning instructions (like call exit). The kernel will perform the global function analysis and find out if the function returns at all. This analysis will be done at the first call to 'func_does_return()'
|
Set a function as the possessing function of a function tail. The function should already refer to the tail (after append_func_tail).
|
Set visibility of function.
|
Apply the currently loaded signature file to the specified address. If a library function is found, then create a function and name it accordingly.
|
Update information about a function in the database ( 'func_t' ). You must not change the function start and end addresses using this function. Use 'set_func_start()' and 'set_func_end()' for it.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 11 15:05:11 2019 | http://epydoc.sourceforge.net |