Module ida_typeinf :: Class tinfo_t
[frames] | no frames]

Class tinfo_t

object --+
         |
        tinfo_t

Proxy of C++ tinfo_t class

Instance Methods
 
__repr__(self)
repr(x)
tinfo_t
__init__(self, decl_type=BT_UNK)
__init__(self, r) -> tinfo_t
 
clear(self)
 
swap(self, r)
bool
get_named_type(self, til, name, decl_type=BTF_TYPEDEF, resolve=True, try_ordinal=True)
bool
get_numbered_type(self, til, ordinal, decl_type=BTF_TYPEDEF, resolve=True)
bool
is_correct(self)
type_t
get_realtype(self, full=False)
type_t
get_decltype(self)
bool
empty(self)
bool
present(self)
size_t
get_size(self, p_effalign=None, gts_code=0)
size_t
get_unpadded_size(self)
type_sign_t
get_sign(self)
bool
is_signed(self)
bool
is_unsigned(self)
uchar
get_declalign(self)
bool
set_declalign(self, declalign)
bool
is_typeref(self)
bool
has_details(self)
bool
get_type_name(self)
bool
get_final_type_name(self)
bool
get_next_type_name(self)
uint32
get_ordinal(self)
uint32
get_final_ordinal(self)
til_t
get_til(self)
bool
is_from_subtil(self)
bool
is_forward_decl(self)
bool
is_decl_const(self)
bool
is_decl_volatile(self)
bool
is_decl_void(self)
bool
is_decl_partial(self)
bool
is_decl_unknown(self)
bool
is_decl_last(self)
bool
is_decl_ptr(self)
bool
is_decl_array(self)
bool
is_decl_func(self)
bool
is_decl_complex(self)
bool
is_decl_typedef(self)
bool
is_decl_sue(self)
bool
is_decl_struct(self)
bool
is_decl_union(self)
bool
is_decl_udt(self)
bool
is_decl_enum(self)
bool
is_decl_bitfield(self)
bool
is_decl_int128(self)
bool
is_decl_int64(self)
bool
is_decl_int32(self)
bool
is_decl_int16(self)
bool
is_decl_int(self)
bool
is_decl_char(self)
bool
is_decl_uint(self)
bool
is_decl_uchar(self)
bool
is_decl_uint16(self)
bool
is_decl_uint32(self)
bool
is_decl_uint64(self)
bool
is_decl_uint128(self)
bool
is_decl_ldouble(self)
bool
is_decl_double(self)
bool
is_decl_float(self)
bool
is_decl_floating(self)
bool
is_decl_bool(self)
bool
is_decl_paf(self)
bool
is_well_defined(self)
bool
is_const(self)
bool
is_volatile(self)
bool
is_void(self)
bool
is_partial(self)
bool
is_unknown(self)
bool
is_ptr(self)
bool
is_array(self)
bool
is_func(self)
bool
is_complex(self)
bool
is_struct(self)
bool
is_union(self)
bool
is_udt(self)
bool
is_enum(self)
bool
is_sue(self)
bool
is_bitfield(self)
bool
is_int128(self)
bool
is_int64(self)
bool
is_int32(self)
bool
is_int16(self)
bool
is_int(self)
bool
is_char(self)
bool
is_uint(self)
bool
is_uchar(self)
bool
is_uint16(self)
bool
is_uint32(self)
bool
is_uint64(self)
bool
is_uint128(self)
bool
is_ldouble(self)
bool
is_double(self)
bool
is_float(self)
bool
is_bool(self)
bool
is_paf(self)
bool
is_ptr_or_array(self)
bool
is_integral(self)
bool
is_ext_integral(self)
bool
is_floating(self)
bool
is_arithmetic(self)
bool
is_ext_arithmetic(self)
bool
is_scalar(self)
bool
get_ptr_details(self, pi)
bool
get_array_details(self, ai)
bool
get_enum_details(self, ei)
bool
get_bitfield_details(self, bi)
bool
get_udt_details(self, udt, gtd=GTD_CALC_LAYOUT)
bool
get_func_details(self, fi, gtd=GTD_CALC_ARGLOCS)
bool
is_funcptr(self)
int
get_ptrarr_objsize(self)
tinfo_t
get_ptrarr_object(self)
tinfo_t
get_pointed_object(self)
bool
is_pvoid(self)
tinfo_t
get_array_element(self)
int
get_array_nelems(self)
tinfo_t
get_nth_arg(self, n)
tinfo_t
get_rettype(self)
int
get_nargs(self)
bool
is_user_cc(self)
bool
is_vararg_cc(self)
bool
is_purging_cc(self)
int
calc_purged_bytes(self)
bool
is_high_func(self)
int
find_udt_member(self, udm, strmem_flags)
int
get_udt_nmembers(self)
bool
is_empty_udt(self)
bool
is_small_udt(self)
bool
append_covered(self, out, offset=0)
bool
calc_gaps(self, out)
bool
is_one_fpval(self)
bool
is_sse_type(self)
type_t
get_enum_base_type(self)
tinfo_t
get_onemember_type(self)
uint32
calc_score(self)
char const *
dstr(self)
bool
get_attrs(self, tav, all_attrs=False)
bool
set_attrs(self, tav)
bool
set_attr(self, ta, may_overwrite=True)
 
del_attrs(self)
bool
del_attr(self, key, make_copy=True)
bool
create_simple_type(self, decl_type)
bool
create_ptr(self, p, decl_type=BT_PTR)
create_ptr(self, tif, bps=0, decl_type=BT_PTR) -> bool
bool
create_array(self, p, decl_type=BT_ARRAY)
create_array(self, tif, nelems=0, base=0, decl_type=BT_ARRAY) -> bool
bool
create_typedef(self, p, decl_type=BTF_TYPEDEF, try_ordinal=True)
create_typedef(self, til, name, decl_type=BTF_TYPEDEF, try_ordinal=True) create_typedef(self, til, ord, decl_type=BTF_TYPEDEF)
bool
create_bitfield(self, p, decl_type=BT_BITFIELD)
create_bitfield(self, nbytes, width, is_unsigned=False, decl_type=BT_BITFIELD) -> bool
bool
create_udt(self, p, decl_type)
bool
create_enum(self, p, decl_type=BTF_ENUM)
bool
create_func(self, p, decl_type=BT_FUNC)
tinfo_code_t
set_named_type(self, til, name, ntf_flags=0)
tinfo_code_t
set_symbol_type(self, til, name, ntf_flags=0)
tinfo_code_t
set_numbered_type(self, til, ord, ntf_flags=0, name=None)
tinfo_code_t
create_forward_decl(self, til, decl_type, name, ntf_flags=0)
bool
convert_array_to_ptr(self)
bool
remove_ptr_or_array(self)
bool
change_sign(self, sign)
bool
calc_udt_aligns(self, sudt_flags=0x0004)
uint64
read_bitfield_value(self, v, bitoff)
uint64
write_bitfield_value(self, dst, v, bitoff)
type_t
get_modifiers(self)
 
set_modifiers(self, mod)
 
set_const(self)
 
set_volatile(self)
 
clr_const(self)
 
clr_volatile(self)
 
clr_const_volatile(self)
bool
__eq__(self, r)
bool
__ne__(self, r)
bool
__lt__(self, r)
bool
__gt__(self, r)
bool
__le__(self, r)
bool
__ge__(self, r)
int
compare(self, r)
bool
compare_with(self, r, tcflags=0)
bool
equals_to(self, r)
bool
is_castable_to(self, target)
bool
is_manually_castable_to(self, target)
PyObject *
serialize(self, sudt_flags=SUDT_FAST|SUDT_TRUNC)
bool
deserialize(self, til, ptype, pfields=None, pfldcmts=None)
deserialize(self, til, ptype, pfields=None, pfldcmts=None) -> bool deserialize(self, til, type, fields, cmts=None) -> bool deserialize(self, til, _type, _fields, _cmts=None) -> bool
 
__swig_destroy__(self)
 
__del__(self)
qstring
__str__(self)
str(x)
PyObject *
get_attr(self, key, all_attrs=True)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods
tinfo_t
get_stock(id)
Properties
  thisown
The membership flag

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__init__(self, decl_type=BT_UNK)
(Constructor)

 

__init__(self, r) -> tinfo_t

Returns: tinfo_t
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Returns: qstring
Overrides: object.__str__

Property Details

thisown

The membership flag

Get Method:
unreachable(x)
Set Method:
unreachable(x, v)