IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Macros
C data formatting properties

## Detailed Description

C data formatting properties

used by format_data_info_t::ptvf

## Macros
#define | PTV_DEREF 0x0001
| take value to print from the debugged process. More...
#define | PTV_QUEST 0x0002
| print '?' for uninited data
#define | PTV_EMPTY 0x0004
| return empty string for uninited data More...
#define | PTV_CSTR 0x0008
| print constant strings inline
#define | PTV_EXPAND 0x0010
| print only top level on separate lines More...
#define | PTV_LZHEX 0x0020
| print hex numbers with leading zeroes
#define | PTV_STPFLT 0x0040
| fail on bad floating point numbers More...
#define | PTV_SPACE 0x0080
| add spaces after commas and around braces
#define | PTV_DEBUG 0x0100
| format output for debugger
#define | PTV_NTOP 0x40000000
| internal flag, do not use
#define | PTV_KEEP 0x80000000
| internal flag, do not use

## Macro Definition Documentation

#define PTV_DEREF 0x0001

take value to print from the debugged process.

VT_LONG: the address is specified by idc_value_t::num VT_PVOID: argloc_t is pointed by idc_value_t::pvoid

#define PTV_EMPTY 0x0004

return empty string for uninited data

should not specify PTV_QUEST and PTV_EMPTY together

#define PTV_EXPAND 0x0010

print only top level on separate lines

max_length applies to separate lines margin is ignored

#define PTV_STPFLT 0x0040

fail on bad floating point numbers

(if not set, just print ?flt for them)