IDAPython 9.0
Loading...
Searching...
No Matches
udm_t Class Reference

Proxy of C++ udm_t class.

Inheritance diagram for udm_t:

Public Member Functions

"bool" empty (self)
 empty(self) -> bool
 
"bool" is_bitfield (self)
 is_bitfield(self) -> bool
 
"bool" is_zero_bitfield (self)
 is_zero_bitfield(self) -> bool
 
"bool" is_unaligned (self)
 is_unaligned(self) -> bool
 
"bool" is_baseclass (self)
 is_baseclass(self) -> bool
 
"bool" is_virtbase (self)
 is_virtbase(self) -> bool
 
"bool" is_vftable (self)
 is_vftable(self) -> bool
 
"bool" is_method (self)
 is_method(self) -> bool
 
"bool" is_gap (self)
 is_gap(self) -> bool
 
"bool" is_regcmt (self)
 is_regcmt(self) -> bool
 
"bool" is_retaddr (self)
 is_retaddr(self) -> bool
 
"bool" is_savregs (self)
 is_savregs(self) -> bool
 
"bool" is_special_member (self)
 is_special_member(self) -> bool
 
"bool" is_by_til (self)
 is_by_til(self) -> bool
 
"void" set_unaligned (self, "bool" on=True)
 set_unaligned(self, on=True)
 
"void" set_baseclass (self, "bool" on=True)
 set_baseclass(self, on=True)
 
"void" set_virtbase (self, "bool" on=True)
 set_virtbase(self, on=True)
 
"void" set_vftable (self, "bool" on=True)
 set_vftable(self, on=True)
 
"void" set_method (self, "bool" on=True)
 set_method(self, on=True)
 
"void" set_regcmt (self, "bool" on=True)
 set_regcmt(self, on=True)
 
"void" set_retaddr (self, "bool" on=True)
 set_retaddr(self, on=True)
 
"void" set_savregs (self, "bool" on=True)
 set_savregs(self, on=True)
 
"void" set_by_til (self, "bool" on=True)
 set_by_til(self, on=True)
 
"void" clr_unaligned (self)
 clr_unaligned(self)
 
"void" clr_baseclass (self)
 clr_baseclass(self)
 
"void" clr_virtbase (self)
 clr_virtbase(self)
 
"void" clr_vftable (self)
 clr_vftable(self)
 
"void" clr_method (self)
 clr_method(self)
 
"uint64" begin (self)
 begin(self) -> uint64
 
"uint64" end (self)
 end(self) -> uint64
 
"bool" __lt__ (self, "udm_t" r)
 lt(self, r) -> bool
 
"bool" __eq__ (self, "udm_t" r)
 eq(self, r) -> bool
 
"bool" __ne__ (self, "udm_t" r)
 ne(self, r) -> bool
 
"void" swap (self, "udm_t" r)
 swap(self, r)
 
"bool" is_anonymous_udm (self)
 is_anonymous_udm(self) -> bool
 
"bool" make_gap (self, "uval_t" byteoff, "uval_t" nbytes)
 make_gap(self, byteoff, nbytes) -> bool
 
"void" set_value_repr (self, "value_repr_t" r)
 set_value_repr(self, r)
 
"bool" can_be_dtor (self)
 can_be_dtor(self) -> bool
 
"bool" can_rename (self)
 can_rename(self) -> bool
 
 __init__ (self, *args)
 Create a structure/union member, with the specified name and type.
 

Static Public Attributes

str offset = property(_ida_typeinf.udm_t_offset_get, _ida_typeinf.udm_t_offset_set, doc=)
 
str size = property(_ida_typeinf.udm_t_size_get, _ida_typeinf.udm_t_size_set, doc=)
 
str name = property(_ida_typeinf.udm_t_name_get, _ida_typeinf.udm_t_name_set, doc=)
 
str cmt = property(_ida_typeinf.udm_t_cmt_get, _ida_typeinf.udm_t_cmt_set, doc=)
 
str type = property(_ida_typeinf.udm_t_type_get, _ida_typeinf.udm_t_type_set, doc=)
 
str repr = property(_ida_typeinf.udm_t_repr_get, _ida_typeinf.udm_t_repr_set, doc=!)
 
str effalign = property(_ida_typeinf.udm_t_effalign_get, _ida_typeinf.udm_t_effalign_set, doc=)
 
str tafld_bits = property(_ida_typeinf.udm_t_tafld_bits_get, _ida_typeinf.udm_t_tafld_bits_set, doc=)
 
str fda = property(_ida_typeinf.udm_t_fda_get, _ida_typeinf.udm_t_fda_set, doc=)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

This constructor has the following signatures:

  • udm_t(udm: udm_t)
  • 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.

Parameters
udma source udm_t
namea valid member name. Must not be empty.
typethe member type
offsetthe member offset in bits. It is the caller's responsibility to specify correct offsets.

Member Function Documentation

◆ __eq__()

"bool" __eq__ ( self,
"udm_t" r )
Parameters
rudm_t const &

◆ __lt__()

"bool" __lt__ ( self,
"udm_t" r )
Parameters
rudm_t const &

◆ __ne__()

"bool" __ne__ ( self,
"udm_t" r )
Parameters
rudm_t const &

◆ begin()

"uint64" begin ( self)

◆ can_be_dtor()

"bool" can_be_dtor ( self)

◆ can_rename()

"bool" can_rename ( self)

◆ clr_baseclass()

"void" clr_baseclass ( self)

◆ clr_method()

"void" clr_method ( self)

◆ clr_unaligned()

"void" clr_unaligned ( self)

◆ clr_vftable()

"void" clr_vftable ( self)

◆ clr_virtbase()

"void" 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)

◆ make_gap()

"bool" make_gap ( self,
"uval_t" byteoff,
"uval_t" nbytes )
Parameters
byteoffuval_t
nbytesuval_t

◆ set_baseclass()

"void" set_baseclass ( self,
"bool" on = True )
Parameters
onbool

◆ set_by_til()

"void" set_by_til ( self,
"bool" on = True )
Parameters
onbool

◆ set_method()

"void" set_method ( self,
"bool" on = True )
Parameters
onbool

◆ set_regcmt()

"void" set_regcmt ( self,
"bool" on = True )
Parameters
onbool

◆ set_retaddr()

"void" set_retaddr ( self,
"bool" on = True )
Parameters
onbool

◆ set_savregs()

"void" set_savregs ( self,
"bool" on = True )
Parameters
onbool

◆ set_unaligned()

"void" set_unaligned ( self,
"bool" on = True )
Parameters
onbool

◆ set_value_repr()

"void" set_value_repr ( self,
"value_repr_t" r )
Parameters
rvalue_repr_t const &

◆ set_vftable()

"void" set_vftable ( self,
"bool" on = True )
Parameters
onbool

◆ set_virtbase()

"void" set_virtbase ( self,
"bool" on = True )
Parameters
onbool

◆ swap()

"void" swap ( self,
"udm_t" r )
Parameters
rudm_t &

Member Data Documentation

◆ cmt

str cmt = property(_ida_typeinf.udm_t_cmt_get, _ida_typeinf.udm_t_cmt_set, doc=)
static

◆ effalign

str effalign = property(_ida_typeinf.udm_t_effalign_get, _ida_typeinf.udm_t_effalign_set, doc=)
static

◆ fda

str fda = property(_ida_typeinf.udm_t_fda_get, _ida_typeinf.udm_t_fda_set, doc=)
static

◆ name

str name = property(_ida_typeinf.udm_t_name_get, _ida_typeinf.udm_t_name_set, doc=)
static

◆ offset

str offset = property(_ida_typeinf.udm_t_offset_get, _ida_typeinf.udm_t_offset_set, doc=)
static

◆ repr

str repr = property(_ida_typeinf.udm_t_repr_get, _ida_typeinf.udm_t_repr_set, doc=!)
static

◆ size

str size = property(_ida_typeinf.udm_t_size_get, _ida_typeinf.udm_t_size_set, doc=)
static

◆ tafld_bits

str tafld_bits = property(_ida_typeinf.udm_t_tafld_bits_get, _ida_typeinf.udm_t_tafld_bits_set, doc=)
static

◆ type

str type = property(_ida_typeinf.udm_t_type_get, _ida_typeinf.udm_t_type_set, doc=)
static

Property Documentation

◆ thisown

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

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