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
edit_type() flags

Constants to be used in edit_udt(), edit_enum() etc. More...

Enumerations

enum  etf_flag_t : uint {
  ETF_NO_SAVE = 0x00000001 , ETF_NO_LAYOUT = 0x00000002 , ETF_MAY_DESTROY = 0x00000004 , ETF_COMPATIBLE = 0x00000008 ,
  ETF_FUNCARG = 0x00000010 , ETF_FORCENAME = 0x00000020 , ETF_AUTONAME = 0x00000040 , ETF_ASMENUM = 0x40000000 ,
  ETF_NO_IDBSYNC = 0x80000000
}
 

Detailed Description

Constants to be used in edit_udt(), edit_enum() etc.

Enumeration Type Documentation

◆ etf_flag_t

enum etf_flag_t : uint
Enumerator
ETF_NO_SAVE 

don't save to til (normally typerefs are saved to til) A call with ETF_NO_SAVE must be followed by a call without it.

Otherwise there may be inconsistencies between the memory and the type library.

ETF_NO_LAYOUT 

don't calc type layout before editing

ETF_MAY_DESTROY 

may destroy other members

ETF_COMPATIBLE 

new type must be compatible with the old

ETF_FUNCARG 

mptr is function argument (cannot create arrays)

ETF_FORCENAME 

anyway use name, see below for more usage description

ETF_AUTONAME 

generate a member name if was not specified (add_udm, set_udm_type)

ETF_ASMENUM 

asm enum compatibility mode *-

ETF_NO_IDBSYNC 

do not sync type to IDB (udt only) *-