Trees | Indices | Help |
|
---|
|
IDA Plugin SDK API wrapper: xref
Classes | |
cases_and_targets_t Proxy of C++ cases_and_targets_t class |
|
xrefblk_t Proxy of C++ xrefblk_t class |
|
casevec_t Proxy of C++ qvector<(qvector<(sval_t)>)> class |
Functions | |||
bool |
|
||
cases_and_targets_t |
|
||
bool |
|
||
char |
|
||
bool |
|
||
int |
|
||
bool |
|
||
|
|||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
bool |
|
||
|
Variables | |
fl_U = 0
|
|
fl_CF = 16
|
|
fl_CN = 17
|
|
fl_JF = 18
|
|
fl_JN = 19
|
|
fl_USobsolete = 20
|
|
fl_F = 21
|
|
dr_U = 0
|
|
dr_O = 1
|
|
dr_W = 2
|
|
dr_R = 3
|
|
dr_T = 4
|
|
dr_I = 5
|
|
XREF_USER = 32 User specified xref. |
|
XREF_TAIL = 64 Reference to tail byte in extrn symbols. |
|
XREF_BASE = 128 Reference to the base part of an offset. |
|
XREF_MASK = 31 Mask to get xref type. |
|
XREF_PASTEND = 256 Reference is past item. |
|
XREF_ALL = 0 return all references |
|
XREF_FAR = 1 don't return ordinary flow xrefs |
|
XREF_DATA = 2 return data references only |
|
__package__ = None
|
Function Details |
This function creates xrefs from the indirect jump. Usually there is no need to call this function directly because the kernel will call it for switch tables Note: Custom switch information are not supported yet.
|
Get information about a switch's cases. The returned information can be used as follows: for idx in xrange(len(results.cases)): cur_case = results.cases[idx] for cidx in xrange(len(cur_case)): print "case: %d" % cur_case[cidx] print " goto 0x%x" % results.targets[idx] @param ea: address of the 'indirect jump' instruction @param si: switch information @return: a structure with 2 members: 'cases', and 'targets'.
|
Create switch table from the switch information
|
Get character describing the xref type.
|
Create a code cross-reference.
|
Delete a code cross-reference.
|
Create a data cross-reference.
|
Delete a data cross-reference.
|
Get first data referenced from the specified address.
|
Get next data referenced from the specified address.
|
Get address of instruction/data referencing to the specified data.
|
Get address of instruction/data referencing to the specified data
|
Get first instruction referenced from the specified instruction. If the specified instruction passes execution to the next instruction then the next instruction is returned. Otherwise the lowest referenced address is returned (remember that xrefs are kept sorted!).
|
Get next instruction referenced from the specified instruction.
|
Get first instruction referencing to the specified instruction. If the specified instruction may be executed immediately after its previous instruction then the previous instruction is returned. Otherwise the lowest referencing address is returned. (remember that xrefs are kept sorted!).
|
Get next instruction referencing to the specified instruction.
|
Has a location external to the function references?
|
Variables Details |
XREF_USERUser specified xref. This xref will not be deleted by IDA. This bit should be combined with the existing xref types ( 'cref_t' & 'dref_t' ) Can not be used for fl_F xrefs
|
XREF_PASTENDReference is past item. This bit may be passed to 'add_dref()' functions but it won't be saved in the database. It will prevent the destruction of eventual alignment directives.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 18 08:45:08 2018 | http://epydoc.sourceforge.net |