IDAPython 9.0
Loading...
Searching...
No Matches
udm_t Class Reference
Inheritance diagram for udm_t:

Public Member Functions

bool empty (self)
 
bool is_bitfield (self)
 
bool is_zero_bitfield (self)
 
bool is_unaligned (self)
 
bool is_baseclass (self)
 
bool is_virtbase (self)
 
bool is_vftable (self)
 
bool is_method (self)
 
bool is_gap (self)
 
bool is_regcmt (self)
 
bool is_retaddr (self)
 
bool is_savregs (self)
 
bool is_special_member (self)
 
bool is_by_til (self)
 
None set_unaligned (self, bool on=True)
 
None set_baseclass (self, bool on=True)
 
None set_virtbase (self, bool on=True)
 
None set_vftable (self, bool on=True)
 
None set_method (self, bool on=True)
 
None set_regcmt (self, bool on=True)
 
None set_retaddr (self, bool on=True)
 
None set_savregs (self, bool on=True)
 
None set_by_til (self, bool on=True)
 
None clr_unaligned (self)
 
None clr_baseclass (self)
 
None clr_virtbase (self)
 
None clr_vftable (self)
 
None clr_method (self)
 
'uint64' begin (self)
 
'uint64' end (self)
 
bool __lt__ (self, 'udm_t' r)
 
bool __eq__ (self, 'udm_t' r)
 
bool __ne__ (self, 'udm_t' r)
 
None swap (self, 'udm_t' r)
 
bool is_anonymous_udm (self)
 
None set_value_repr (self, 'value_repr_t' r)
 
bool can_be_dtor (self)
 
bool can_rename (self)
 
 __init__ (self, *args)
 

Static Public Attributes

str offset
 
str size
 
str name
 
str cmt
 
str type
 
str repr
 
str effalign
 
str tafld_bits
 
str fda
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Create a structure/union member, with the specified name and type.

This constructor has the following signatures:

1. udm_t(udm: udm_t)
2. udm_t(name: str, type, offset: int)

The 'type' descriptor, can be one of:

* type_t: if the type is simple (integral/floating/bool). E.g., `BTF_INT`
* tinfo_t: can handle more complex types (structures, pointers, arrays, ...)
* str: a C type declaration

If an input argument is incorrect, the constructor may raise an exception
The size will be computed automatically.

@param udm a source udm_t
@param name a valid member name. Must not be empty.
@param type the member type
@param offset the member offset in bits. It is the caller's responsibility
to specify correct offsets.

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
'udm_t' r )

◆ __lt__()

bool __lt__ ( self,
'udm_t' r )

◆ __ne__()

bool __ne__ ( self,
'udm_t' r )

◆ begin()

'uint64' begin ( self)

◆ can_be_dtor()

bool can_be_dtor ( self)

◆ can_rename()

bool can_rename ( self)

◆ clr_baseclass()

None clr_baseclass ( self)

◆ clr_method()

None clr_method ( self)

◆ clr_unaligned()

None clr_unaligned ( self)

◆ clr_vftable()

None clr_vftable ( self)

◆ clr_virtbase()

None clr_virtbase ( self)

◆ empty()

bool empty ( self)

◆ end()

'uint64' end ( self)

◆ is_anonymous_udm()

bool is_anonymous_udm ( self)

◆ is_baseclass()

bool is_baseclass ( self)

◆ is_bitfield()

bool is_bitfield ( self)

◆ is_by_til()

bool is_by_til ( self)

◆ is_gap()

bool is_gap ( self)

◆ is_method()

bool is_method ( self)

◆ is_regcmt()

bool is_regcmt ( self)

◆ is_retaddr()

bool is_retaddr ( self)

◆ is_savregs()

bool is_savregs ( self)

◆ is_special_member()

bool is_special_member ( self)

◆ is_unaligned()

bool is_unaligned ( self)

◆ is_vftable()

bool is_vftable ( self)

◆ is_virtbase()

bool is_virtbase ( self)

◆ is_zero_bitfield()

bool is_zero_bitfield ( self)

◆ set_baseclass()

None set_baseclass ( self,
bool on = True )

◆ set_by_til()

None set_by_til ( self,
bool on = True )

◆ set_method()

None set_method ( self,
bool on = True )

◆ set_regcmt()

None set_regcmt ( self,
bool on = True )

◆ set_retaddr()

None set_retaddr ( self,
bool on = True )

◆ set_savregs()

None set_savregs ( self,
bool on = True )

◆ set_unaligned()

None set_unaligned ( self,
bool on = True )

◆ set_value_repr()

None set_value_repr ( self,
'value_repr_t' r )

◆ set_vftable()

None set_vftable ( self,
bool on = True )

◆ set_virtbase()

None set_virtbase ( self,
bool on = True )

◆ swap()

None swap ( self,
'udm_t' r )

Member Data Documentation

◆ cmt

str cmt
static
Initial value:
= property(_ida_typeinf.udm_t_cmt_get, _ida_typeinf.
udm_t_cmt_set)

◆ effalign

str effalign
static
Initial value:
= property(_ida_typeinf.udm_t_effalign_get,
_ida_typeinf.udm_t_effalign_set)

◆ fda

str fda
static
Initial value:
= property(_ida_typeinf.udm_t_fda_get, _ida_typeinf.
udm_t_fda_set)

◆ name

str name
static
Initial value:
= property(_ida_typeinf.udm_t_name_get, _ida_typeinf.
udm_t_name_set)

◆ offset

str offset
static
Initial value:
= property(_ida_typeinf.udm_t_offset_get, _ida_typeinf
.udm_t_offset_set)

◆ repr

str repr
static
Initial value:
= property(_ida_typeinf.udm_t_repr_get,
_ida_typeinf.udm_t_repr_set)

◆ size

str size
static
Initial value:
= property(_ida_typeinf.udm_t_size_get, _ida_typeinf.
udm_t_size_set)

◆ tafld_bits

str tafld_bits
static
Initial value:
= property(_ida_typeinf.udm_t_tafld_bits_get,
_ida_typeinf.udm_t_tafld_bits_set)

◆ type

str type
static
Initial value:
= property(_ida_typeinf.udm_t_type_get, _ida_typeinf.
udm_t_type_set)

Property Documentation

◆ thisown

thisown
static
Initial value:
= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')

The documentation for this class was generated from the following file: