IDA SDK
Macros
Output value flags

Detailed Description

Flags passed to out_value().

(don't use OOF_SIGNMASK and OOF_WIDTHMASK, they are for the kernel)

Macros

#define OOF_SIGNMASK   0x0003
 sign symbol (+/-) output
 
#define OOFS_IFSIGN   0x0000
 output sign if needed
 
#define OOFS_NOSIGN   0x0001
 don't output sign, forbid the user to change the sign
 
#define OOFS_NEEDSIGN   0x0002
 always out sign (+-)
 
#define OOF_SIGNED   0x0004
 output as signed if < 0
 
#define OOF_NUMBER   0x0008
 always as a number
 
#define OOF_WIDTHMASK   0x0070
 width of value in bits
 
#define OOFW_IMM   0x0000
 take from x.dtype
 
#define OOFW_8   0x0010
 8 bit width
 
#define OOFW_16   0x0020
 16 bit width
 
#define OOFW_24   0x0030
 24 bit width
 
#define OOFW_32   0x0040
 32 bit width
 
#define OOFW_64   0x0050
 64 bit width
 
#define OOF_ADDR   0x0080
 output x.addr, otherwise x.value
 
#define OOF_OUTER   0x0100
 output outer operand
 
#define OOF_ZSTROFF   0x0200
 meaningful only if is_stroff(uFlag) More...
 
#define OOF_NOBNOT   0x0400
 prohibit use of binary not
 
#define OOF_SPACES   0x0800
 do not suppress leading spaces More...
 

Macro Definition Documentation

#define OOF_ZSTROFF   0x0200

meaningful only if is_stroff(uFlag)

append a struct field name if the field offset is zero? if AFL_ZSTROFF is set, then this flag is ignored.

#define OOF_SPACES   0x0800

do not suppress leading spaces

currently works only for floating point numbers