Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Reference info flags

Used by refinfo_t::flags. More...

Macros

#define REFINFO_TYPE   0x000F
 reference type (reftype_t), or custom reference ID if REFINFO_CUSTOM set
 
#define REFINFO_RVAOFF   0x0010
 based reference (rva); refinfo_t::base will be forced to get_imagebase(); such a reference is displayed with the asm_t::a_rva keyword
 
#define REFINFO_PASTEND   0x0020
 reference past an item; it may point to an nonexistent address; do not destroy alignment dirs
 
#define REFINFO_CUSTOM   0x0040
 a custom reference. More...
 
#define REFINFO_NOBASE   0x0080
 don't create the base xref; implies that the base can be any value. More...
 
#define REFINFO_SUBTRACT   0x0100
 the reference value is subtracted from the base value instead of (as usual) being added to it
 
#define REFINFO_SIGNEDOP   0x0200
 the operand value is sign-extended (only supported for REF_OFF8/16/32/64)
 
#define REFINFO_NO_ZEROS   0x0400
 an opval of 0 will be considered invalid
 
#define REFINFO_NO_ONES   0x0800
 an opval of ~0 will be considered invalid
 
#define REFINFO_SELFREF   0x1000
 the self-based reference; refinfo_t::base will be forced to the reference address
 

Detailed Description

Used by refinfo_t::flags.

Macro Definition Documentation

◆ REFINFO_CUSTOM

#define REFINFO_CUSTOM   0x0040

a custom reference.

see custom_refinfo_handler_t. the id of the custom refinfo is stored under the REFINFO_TYPE mask.

◆ REFINFO_NOBASE

#define REFINFO_NOBASE   0x0080

don't create the base xref; implies that the base can be any value.

nb: base xrefs are created only if the offset base points to the middle of a segment