74 return op_offset(ea,
n, reftype, BADADDR, base) != 0;
idaman size_t n
Definition pro.h:997
idaman ea_t ida_export get_segm_base(const segment_t *s)
Get segment base linear address.
idaman segment_t *ida_export getseg(ea_t ea)
Get pointer to segment by linear address.
dref_t
DATA xref types.
Definition xref.hpp:67
const tinfo_t & type
Definition hexrays.hpp:7301
uval_t uval_t
Definition kernwin.hpp:1878
Definitions of various information kept in netnodes.
uchar reftype_t
see Types of references
Definition nalt.hpp:971
idaman bool ida_export get_refinfo(refinfo_t *ri, ea_t ea, int n)
idaman bool ida_export op_offset(ea_t ea, int n, uint32 type_and_flags, ea_t target=BADADDR, ea_t base=0, adiff_t tdelta=0)
See op_offset_ex()
idaman ea_t ida_export calc_probable_base_by_value(ea_t ea, uval_t off)
Try to calculate the offset base.
idaman ea_t ida_export can_be_off32(ea_t ea)
Does the specified address contain a valid OFF32 value?
ea_t calc_basevalue(ea_t target, ea_t base)
Calculate the value of the reference base.
Definition offset.hpp:250
bool op_plain_offset(ea_t ea, int n, ea_t base)
Convert operand to a reference with the default reference type.
Definition offset.hpp:71
ea_t get_offbase(ea_t ea, int n)
Get offset base value.
Definition offset.hpp:83
idaman ea_t ida_export calc_offset_base(ea_t ea, int n)
Try to calculate the offset base This function takes into account the fixup information,...
idaman bool ida_export calc_reference_data(ea_t *target, ea_t *base, ea_t from, const refinfo_t &ri, adiff_t opval)
Calculate the target and base addresses of an offset expression.
idaman ea_t ida_export add_refinfo_dref(const insn_t &insn, ea_t from, const refinfo_t &ri, adiff_t opval, dref_t type, int opoff)
Add xrefs for a reference from the given instruction (\insn_t{ea}).
idaman int ida_export get_offset_expression(qstring *buf, ea_t ea, int n, ea_t from, adiff_t offset, int getn_flags=0)
Get offset expression (in the form "offset name+displ").
idaman int ida_export get_offset_expr(qstring *buf, ea_t ea, int n, const refinfo_t &ri, ea_t from, adiff_t offset, int getn_flags=0)
See get_offset_expression()
idaman reftype_t ida_export get_default_reftype(ea_t ea)
Get default reference type depending on the segment.
ea_t calc_target(ea_t from, adiff_t opval, const refinfo_t &ri)
Calculate the target using the provided refinfo_t.
Definition offset.hpp:234
idaman bool ida_export op_offset_ex(ea_t ea, int n, const refinfo_t *ri)
Convert operand to a reference.
unsigned int uint32
unsigned 32 bit value
Definition pro.h:348
int64 adiff_t
Definition pro.h:424
uint64 ea_t
Definition pro.h:421
_qstring< char > qstring
regular string
Definition pro.h:3694
Functions that deal with segments.
Information about a reference.
Definition nalt.hpp:1010
ea_t base
base of reference (may be BADADDR)
Definition nalt.hpp:1012