IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Macros
Reference info flags

## Detailed Description

Used by refinfo_t::flags.

## Macros
#define | REFINFO_TYPE 0x000F
| reference type
#define | REFINFO_RVAOFF 0x0010
| based reference (rva) More...
#define | REFINFO_PASTEND 0x0020
| reference past an item More...
#define | REFINFO_CUSTOM 0x0040
| a custom reference More...
#define | REFINFO_NOBASE 0x0080
| don't create the base xref 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)

## Macro Definition Documentation

#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

the kernel will call processor_t::notify(ph.custom_offset, .... that can change all arguments used for calculations. This flag is useful for custom fixups

#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