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

Class tinfo_t

object --+
         |
        tinfo_t

Proxy of C++ tinfo_t class.

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

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

__init__(self)
(Constructor)

 

__init__(self, decl_type) -> tinfo_t __init__(self, r) -> tinfo_t

Returns: tinfo_t
Overrides: object.__init__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__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)