IDAPython 9.0
Loading...
Searching...
No Matches
ida_xref.py File Reference

Classes

class  cases_and_targets_t
 Proxy of C++ cases_and_targets_t class. More...
 
class  xrefblk_t
 Proxy of C++ xrefblk_t class. More...
 
class  casevec_t
 Proxy of C++ qvector< qvector< sval_t > > class. More...
 

Namespaces

namespace  ida_xref
 Functions that deal with cross-references.
 

Functions

"bool" create_switch_xrefs ("ea_t" ea, "switch_info_t" si)
 This function creates xrefs from the indirect jump.
 
"cases_and_targets_t *" calc_switch_cases ("ea_t" ea, "switch_info_t" si)
 Get information about a switch's cases.
 
"bool" create_switch_table ("ea_t" ea, "switch_info_t" si)
 Create switch table from the switch information.
 
"char" xrefchar ("char" xrtype)
 xrefchar(xrtype) -> char Get character describing the xref type.
 
"bool" add_cref ("ea_t" frm, "ea_t" to, "cref_t" type)
 add_cref(frm, to, type) -> bool Create a code cross-reference.
 
"bool" del_cref ("ea_t" frm, "ea_t" to, "bool" expand)
 del_cref(frm, to, expand) -> bool Delete a code cross-reference.
 
"bool" add_dref ("ea_t" frm, "ea_t" to, "dref_t" type)
 add_dref(frm, to, type) -> bool Create a data cross-reference.
 
"void" del_dref ("ea_t" frm, "ea_t" to)
 del_dref(frm, to) Delete a data cross-reference.
 
"ea_t" get_first_dref_from ("ea_t" frm)
 get_first_dref_from(frm) -> ea_t Get first data referenced from the specified address.
 
"ea_t" get_next_dref_from ("ea_t" frm, "ea_t" current)
 get_next_dref_from(frm, current) -> ea_t Get next data referenced from the specified address.
 
"ea_t" get_first_dref_to ("ea_t" to)
 get_first_dref_to(to) -> ea_t Get address of instruction/data referencing to the specified data.
 
"ea_t" get_next_dref_to ("ea_t" to, "ea_t" current)
 get_next_dref_to(to, current) -> ea_t Get address of instruction/data referencing to the specified data
 
"ea_t" get_first_cref_from ("ea_t" frm)
 get_first_cref_from(frm) -> ea_t Get first instruction referenced from the specified instruction.
 
"ea_t" get_next_cref_from ("ea_t" frm, "ea_t" current)
 get_next_cref_from(frm, current) -> ea_t Get next instruction referenced from the specified instruction.
 
"ea_t" get_first_cref_to ("ea_t" to)
 get_first_cref_to(to) -> ea_t Get first instruction referencing to the specified instruction.
 
"ea_t" get_next_cref_to ("ea_t" to, "ea_t" current)
 get_next_cref_to(to, current) -> ea_t Get next instruction referencing to the specified instruction.
 
"ea_t" get_first_fcref_from ("ea_t" frm)
 get_first_fcref_from(frm) -> ea_t
 
"ea_t" get_next_fcref_from ("ea_t" frm, "ea_t" current)
 get_next_fcref_from(frm, current) -> ea_t
 
"ea_t" get_first_fcref_to ("ea_t" to)
 get_first_fcref_to(to) -> ea_t
 
"ea_t" get_next_fcref_to ("ea_t" to, "ea_t" current)
 get_next_fcref_to(to, current) -> ea_t
 
"bool" has_external_refs ("func_t *" pfn, "ea_t" ea)
 has_external_refs(pfn, ea) -> bool Does 'ea' have references from outside of 'pfn'?
 
"bool" has_jump_or_flow_xref ("ea_t" ea)
 has_jump_or_flow_xref(ea) -> bool Are there jump or flow references to EA?
 
"void" delete_switch_table ("ea_t" jump_ea, "switch_info_t" si)
 delete_switch_table(jump_ea, si)
 

Variables

 fl_U = _ida_xref.fl_U
 
 fl_CF = _ida_xref.fl_CF
 
 fl_CN = _ida_xref.fl_CN
 
 fl_JF = _ida_xref.fl_JF
 
 fl_JN = _ida_xref.fl_JN
 
 fl_USobsolete = _ida_xref.fl_USobsolete
 
 fl_F = _ida_xref.fl_F
 
 dr_U = _ida_xref.dr_U
 
 dr_O = _ida_xref.dr_O
 
 dr_W = _ida_xref.dr_W
 
 dr_R = _ida_xref.dr_R
 
 dr_T = _ida_xref.dr_T
 
 dr_I = _ida_xref.dr_I
 
 dr_S = _ida_xref.dr_S
 
 XREF_USER = _ida_xref.XREF_USER
 
 XREF_TAIL = _ida_xref.XREF_TAIL
 
 XREF_BASE = _ida_xref.XREF_BASE
 
 XREF_MASK = _ida_xref.XREF_MASK
 
 XREF_PASTEND = _ida_xref.XREF_PASTEND
 
 XREF_ALL = _ida_xref.XREF_ALL
 
 XREF_FAR = _ida_xref.XREF_FAR
 
 XREF_DATA = _ida_xref.XREF_DATA