IDA SDK
type changing flags

Detailed Description

Constants to be used the editing methods.

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_BYTIL = 0x00000080 ,
  ETF_NO_ARRAY = 0x00000100
}
 

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 

udm - member is a function argument (cannot create arrays)

ETF_FORCENAME 

anyway use name, see below for more usage description

ETF_AUTONAME 

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

ETF_BYTIL 

udm - new type was created by the type subsystem

ETF_NO_ARRAY 

add_udm, set_udm_type - do not convert type to an array on the size mismatch