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
UDT serialization flags

passed as 'sudt_flags' parameter of helpers declared in DECLARE_TINFO_HELPERS More...

Macros

#define SUDT_SORT   0x0001
 fields are not sorted by offset, sort them first
 
#define SUDT_ALIGN   0x0002
 recalculate field alignments, struct packing, etc to match the offsets and size info
 
#define SUDT_GAPS   0x0004
 allow to fill gaps with additional members (_BYTE[])
 
#define SUDT_UNEX   0x0008
 references to nonexistent member types are acceptable; in this case it is better to set the corresponding udm_t::fda field to the type alignment. More...
 
#define SUDT_FAST   0x0010
 serialize without verifying offsets and alignments
 
#define SUDT_CONST   0x0040
 only for serialize_udt: make type const
 
#define SUDT_VOLATILE   0x0080
 only for serialize_udt: make type volatile
 
#define SUDT_TRUNC   0x0100
 serialize: truncate useless strings from fields, fldcmts
 
#define SUDT_SERDEF   0x0200
 serialize: if a typeref, serialize its definition
 

Detailed Description

passed as 'sudt_flags' parameter of helpers declared in DECLARE_TINFO_HELPERS

Macro Definition Documentation

◆ SUDT_UNEX

#define SUDT_UNEX   0x0008

references to nonexistent member types are acceptable; in this case it is better to set the corresponding udm_t::fda field to the type alignment.

If this field is not set, ida will try to guess the alignment.