|
| __init__ (self, *args) |
| init(self) -> tinfo_t init(self, decl_type) -> tinfo_t
|
|
"void" | clear (self, *args) |
| clear(self) Clear contents of this tinfo, and remove from the type system.
|
|
"void" | swap (self, *args) |
| swap(self, r) Assign this = r and r = this.
|
|
"bool" | get_named_type (self, *args) |
| get_named_type(self, til, name, decl_type=BTF_TYPEDEF, resolve=True, try_ordinal=True) -> bool Create a tinfo_t object for an existing named type.
|
|
"bool" | get_numbered_type (self, *args) |
| get_numbered_type(self, til, ordinal, decl_type=BTF_TYPEDEF, resolve=True) -> bool Create a tinfo_t object for an existing ordinal type.
|
|
"bool" | is_correct (self, *args) |
| is_correct(self) -> bool Is the type object correct?.
|
|
"type_t" | get_realtype (self, *args) |
| get_realtype(self, full=False) -> type_t Get the resolved base type.
|
|
"type_t" | get_decltype (self, *args) |
| get_decltype(self) -> type_t Get declared type (without resolving type references; they are returned as is).
|
|
"bool" | empty (self, *args) |
| empty(self) -> bool Was tinfo_t initialized with some type info or not?
|
|
"bool" | present (self, *args) |
| present(self) -> bool Is the type really present? (not a reference to a missing type, for example)
|
|
"size_t" | get_size (self, *args) |
| get_size(self, p_effalign=None, gts_code=0) -> size_t Get the type size in bytes.
|
|
"size_t" | get_unpadded_size (self, *args) |
| get_unpadded_size(self) -> size_t Get the type size in bytes without the final padding, in bytes.
|
|
"type_sign_t" | get_sign (self, *args) |
| get_sign(self) -> type_sign_t Get type sign.
|
|
"bool" | is_signed (self, *args) |
| is_signed(self) -> bool Is this a signed type?
|
|
"bool" | is_unsigned (self, *args) |
| is_unsigned(self) -> bool Is this an unsigned type?
|
|
"uchar" | get_declalign (self, *args) |
| get_declalign(self) -> uchar Get declared alignment of the type.
|
|
"bool" | is_typeref (self, *args) |
| is_typeref(self) -> bool Is this type a type reference?.
|
|
"bool" | has_details (self, *args) |
| has_details(self) -> bool Does this type refer to a nontrivial type?
|
|
"bool" | get_type_name (self, *args) |
| get_type_name(self) -> bool Does a type refer to a name?.
|
|
"bool" | get_nice_type_name (self, *args) |
| get_nice_type_name(self) -> bool Get the beautified type name.
|
|
"tinfo_code_t" | rename_type (self, *args) |
| rename_type(self, name, ntf_flags=0) -> tinfo_code_t Rename a type
|
|
"bool" | get_final_type_name (self, *args) |
| get_final_type_name(self) -> bool Use in the case of typedef chain (TYPE1 -> TYPE2 -> TYPE3...TYPEn).
|
|
"bool" | get_next_type_name (self, *args) |
| get_next_type_name(self) -> bool Use In the case of typedef chain (TYPE1 -> TYPE2 -> TYPE3...TYPEn).
|
|
"tid_t" | get_tid (self, *args) |
| get_tid(self) -> tid_t Get the type tid Each type in the local type library has a so-called tid associated with it.
|
|
"tid_t" | force_tid (self, *args) |
| force_tid(self) -> tid_t Get the type tid.
|
|
"uint32" | get_ordinal (self, *args) |
| get_ordinal(self) -> uint32 Get type ordinal (only if the type was created as a numbered type, 0 if none)
|
|
"uint32" | get_final_ordinal (self, *args) |
| get_final_ordinal(self) -> uint32 Get final type ordinal (0 if none)
|
|
"til_t *" | get_til (self, *args) |
| get_til(self) -> til_t Get the type library for tinfo_t.
|
|
"bool" | is_from_subtil (self, *args) |
| is_from_subtil(self) -> bool Was the named type found in some base type library (not the top level type library)?.
|
|
"bool" | is_forward_decl (self, *args) |
| is_forward_decl(self) -> bool Is this a forward declaration?.
|
|
"type_t" | get_forward_type (self, *args) |
| get_forward_type(self) -> type_t Get type of a forward declaration.
|
|
"bool" | is_forward_struct (self, *args) |
| is_forward_struct(self) -> bool
|
|
"bool" | is_forward_union (self, *args) |
| is_forward_union(self) -> bool
|
|
"bool" | is_forward_enum (self, *args) |
| is_forward_enum(self) -> bool
|
|
"bool" | is_typedef (self, *args) |
| is_typedef(self) -> bool Is this a typedef?.
|
|
"int" | get_type_cmt (self, *args) |
| get_type_cmt(self) -> int Get type comment
|
|
"bool" | get_type_rptcmt (self, *args) |
| get_type_rptcmt(self) -> bool Get type comment only if it is repeatable.
|
|
"bool" | is_decl_const (self, *args) |
| is_decl_const(self) -> bool is_type_const(get_decltype())
|
|
"bool" | is_decl_volatile (self, *args) |
| is_decl_volatile(self) -> bool is_type_volatile(get_decltype())
|
|
"bool" | is_decl_void (self, *args) |
| is_decl_void(self) -> bool is_type_void(get_decltype())
|
|
"bool" | is_decl_partial (self, *args) |
| is_decl_partial(self) -> bool is_type_partial(get_decltype())
|
|
"bool" | is_decl_unknown (self, *args) |
| is_decl_unknown(self) -> bool is_type_unknown(get_decltype())
|
|
"bool" | is_decl_last (self, *args) |
| is_decl_last(self) -> bool is_typeid_last(get_decltype())
|
|
"bool" | is_decl_ptr (self, *args) |
| is_decl_ptr(self) -> bool is_type_ptr(get_decltype())
|
|
"bool" | is_decl_array (self, *args) |
| is_decl_array(self) -> bool is_type_array(get_decltype())
|
|
"bool" | is_decl_func (self, *args) |
| is_decl_func(self) -> bool is_type_func(get_decltype())
|
|
"bool" | is_decl_complex (self, *args) |
| is_decl_complex(self) -> bool is_type_complex(get_decltype())
|
|
"bool" | is_decl_typedef (self, *args) |
| is_decl_typedef(self) -> bool is_type_typedef(get_decltype())
|
|
"bool" | is_decl_sue (self, *args) |
| is_decl_sue(self) -> bool is_type_sue(get_decltype())
|
|
"bool" | is_decl_struct (self, *args) |
| is_decl_struct(self) -> bool is_type_struct(get_decltype())
|
|
"bool" | is_decl_union (self, *args) |
| is_decl_union(self) -> bool is_type_union(get_decltype())
|
|
"bool" | is_decl_udt (self, *args) |
| is_decl_udt(self) -> bool is_type_struni(get_decltype())
|
|
"bool" | is_decl_enum (self, *args) |
| is_decl_enum(self) -> bool is_type_enum(get_decltype())
|
|
"bool" | is_decl_bitfield (self, *args) |
| is_decl_bitfield(self) -> bool is_type_bitfld(get_decltype())
|
|
"bool" | is_decl_int128 (self, *args) |
| is_decl_int128(self) -> bool is_type_int128(get_decltype())
|
|
"bool" | is_decl_int64 (self, *args) |
| is_decl_int64(self) -> bool is_type_int64(get_decltype())
|
|
"bool" | is_decl_int32 (self, *args) |
| is_decl_int32(self) -> bool is_type_int32(get_decltype())
|
|
"bool" | is_decl_int16 (self, *args) |
| is_decl_int16(self) -> bool is_type_int16(get_decltype())
|
|
"bool" | is_decl_int (self, *args) |
| is_decl_int(self) -> bool is_type_int(get_decltype())
|
|
"bool" | is_decl_char (self, *args) |
| is_decl_char(self) -> bool is_type_char(get_decltype())
|
|
"bool" | is_decl_uint (self, *args) |
| is_decl_uint(self) -> bool is_type_uint(get_decltype())
|
|
"bool" | is_decl_uchar (self, *args) |
| is_decl_uchar(self) -> bool is_type_uchar(get_decltype())
|
|
"bool" | is_decl_uint16 (self, *args) |
| is_decl_uint16(self) -> bool is_type_uint16(get_decltype())
|
|
"bool" | is_decl_uint32 (self, *args) |
| is_decl_uint32(self) -> bool is_type_uint32(get_decltype())
|
|
"bool" | is_decl_uint64 (self, *args) |
| is_decl_uint64(self) -> bool is_type_uint64(get_decltype())
|
|
"bool" | is_decl_uint128 (self, *args) |
| is_decl_uint128(self) -> bool is_type_uint128(get_decltype())
|
|
"bool" | is_decl_ldouble (self, *args) |
| is_decl_ldouble(self) -> bool is_type_ldouble(get_decltype())
|
|
"bool" | is_decl_double (self, *args) |
| is_decl_double(self) -> bool is_type_double(get_decltype())
|
|
"bool" | is_decl_float (self, *args) |
| is_decl_float(self) -> bool is_type_float(get_decltype())
|
|
"bool" | is_decl_tbyte (self, *args) |
| is_decl_tbyte(self) -> bool is_type_tbyte(get_decltype())
|
|
"bool" | is_decl_floating (self, *args) |
| is_decl_floating(self) -> bool is_type_floating(get_decltype())
|
|
"bool" | is_decl_bool (self, *args) |
| is_decl_bool(self) -> bool is_type_bool(get_decltype())
|
|
"bool" | is_decl_paf (self, *args) |
| is_decl_paf(self) -> bool is_type_paf(get_decltype())
|
|
"bool" | is_well_defined (self, *args) |
| is_well_defined(self) -> bool !(empty()) && !(is_decl_partial())
|
|
"bool" | is_const (self, *args) |
| is_const(self) -> bool is_type_const(get_realtype())
|
|
"bool" | is_volatile (self, *args) |
| is_volatile(self) -> bool is_type_volatile(get_realtype())
|
|
"bool" | is_void (self, *args) |
| is_void(self) -> bool is_type_void(get_realtype())
|
|
"bool" | is_partial (self, *args) |
| is_partial(self) -> bool is_type_partial(get_realtype())
|
|
"bool" | is_unknown (self, *args) |
| is_unknown(self) -> bool is_type_unknown(get_realtype())
|
|
"bool" | is_ptr (self, *args) |
| is_ptr(self) -> bool is_type_ptr(get_realtype())
|
|
"bool" | is_array (self, *args) |
| is_array(self) -> bool is_type_array(get_realtype())
|
|
"bool" | is_func (self, *args) |
| is_func(self) -> bool is_type_func(get_realtype())
|
|
"bool" | is_complex (self, *args) |
| is_complex(self) -> bool is_type_complex(get_realtype())
|
|
"bool" | is_struct (self, *args) |
| is_struct(self) -> bool is_type_struct(get_realtype())
|
|
"bool" | is_union (self, *args) |
| is_union(self) -> bool is_type_union(get_realtype())
|
|
"bool" | is_udt (self, *args) |
| is_udt(self) -> bool is_type_struni(get_realtype())
|
|
"bool" | is_enum (self, *args) |
| is_enum(self) -> bool is_type_enum(get_realtype())
|
|
"bool" | is_sue (self, *args) |
| is_sue(self) -> bool is_type_sue(get_realtype())
|
|
"bool" | is_bitfield (self, *args) |
| is_bitfield(self) -> bool is_type_bitfld(get_realtype())
|
|
"bool" | is_int128 (self, *args) |
| is_int128(self) -> bool is_type_int128(get_realtype())
|
|
"bool" | is_int64 (self, *args) |
| is_int64(self) -> bool is_type_int64(get_realtype())
|
|
"bool" | is_int32 (self, *args) |
| is_int32(self) -> bool is_type_int32(get_realtype())
|
|
"bool" | is_int16 (self, *args) |
| is_int16(self) -> bool is_type_int16(get_realtype())
|
|
"bool" | is_int (self, *args) |
| is_int(self) -> bool is_type_int(get_realtype())
|
|
"bool" | is_char (self, *args) |
| is_char(self) -> bool is_type_char(get_realtype())
|
|
"bool" | is_uint (self, *args) |
| is_uint(self) -> bool is_type_uint(get_realtype())
|
|
"bool" | is_uchar (self, *args) |
| is_uchar(self) -> bool is_type_uchar(get_realtype())
|
|
"bool" | is_uint16 (self, *args) |
| is_uint16(self) -> bool is_type_uint16(get_realtype())
|
|
"bool" | is_uint32 (self, *args) |
| is_uint32(self) -> bool is_type_uint32(get_realtype())
|
|
"bool" | is_uint64 (self, *args) |
| is_uint64(self) -> bool is_type_uint64(get_realtype())
|
|
"bool" | is_uint128 (self, *args) |
| is_uint128(self) -> bool is_type_uint128(get_realtype())
|
|
"bool" | is_ldouble (self, *args) |
| is_ldouble(self) -> bool is_type_ldouble(get_realtype())
|
|
"bool" | is_double (self, *args) |
| is_double(self) -> bool is_type_double(get_realtype())
|
|
"bool" | is_float (self, *args) |
| is_float(self) -> bool is_type_float(get_realtype())
|
|
"bool" | is_tbyte (self, *args) |
| is_tbyte(self) -> bool is_type_tbyte(get_realtype())
|
|
"bool" | is_bool (self, *args) |
| is_bool(self) -> bool is_type_bool(get_realtype())
|
|
"bool" | is_paf (self, *args) |
| is_paf(self) -> bool is_type_paf(get_realtype())
|
|
"bool" | is_ptr_or_array (self, *args) |
| is_ptr_or_array(self) -> bool is_type_ptr_or_array(get_realtype())
|
|
"bool" | is_integral (self, *args) |
| is_integral(self) -> bool is_type_integral(get_realtype())
|
|
"bool" | is_ext_integral (self, *args) |
| is_ext_integral(self) -> bool is_type_ext_integral(get_realtype())
|
|
"bool" | is_floating (self, *args) |
| is_floating(self) -> bool is_type_floating(get_realtype())
|
|
"bool" | is_arithmetic (self, *args) |
| is_arithmetic(self) -> bool is_type_arithmetic(get_realtype())
|
|
"bool" | is_ext_arithmetic (self, *args) |
| is_ext_arithmetic(self) -> bool is_type_ext_arithmetic(get_realtype())
|
|
"bool" | is_scalar (self, *args) |
| is_scalar(self) -> bool Does the type represent a single number?
|
|
"bool" | get_ptr_details (self, *args) |
| get_ptr_details(self, pi) -> bool Get the pointer info.
|
|
"bool" | get_array_details (self, *args) |
| get_array_details(self, ai) -> bool Get the array specific info.
|
|
"bool" | get_enum_details (self, *args) |
| get_enum_details(self, ei) -> bool Get the enum specific info.
|
|
"bool" | get_bitfield_details (self, *args) |
| get_bitfield_details(self, bi) -> bool Get the bitfield specific info.
|
|
"bool" | get_udt_details (self, *args) |
| get_udt_details(self, udt, gtd=GTD_CALC_LAYOUT) -> bool Get the udt specific info.
|
|
"bool" | get_func_details (self, *args) |
| get_func_details(self, fi, gtd=GTD_CALC_ARGLOCS) -> bool Get only the function specific info for this tinfo_t.
|
|
"bool" | is_funcptr (self, *args) |
| is_funcptr(self) -> bool Is this pointer to a function?
|
|
"bool" | is_shifted_ptr (self, *args) |
| is_shifted_ptr(self) -> bool Is a shifted pointer?
|
|
"bool" | is_varstruct (self, *args) |
| is_varstruct(self) -> bool Is a variable-size structure?
|
|
"bool" | is_varmember (self, *args) |
| is_varmember(self) -> bool Can the type be of a variable struct member? This function checks for: is_array() && array.nelems==0 Such a member can be only the very last member of a structure
|
|
"int" | get_ptrarr_objsize (self, *args) |
| get_ptrarr_objsize(self) -> int BT_PTR & BT_ARRAY: get size of pointed object or array element.
|
|
"tinfo_t" | get_ptrarr_object (self, *args) |
| get_ptrarr_object(self) -> tinfo_t BT_PTR & BT_ARRAY: get the pointed object or array element.
|
|
"tinfo_t" | get_pointed_object (self, *args) |
| get_pointed_object(self) -> tinfo_t
|
|
"bool" | is_pvoid (self, *args) |
| is_pvoid(self) -> bool Is "void *"?.
|
|
"tinfo_t" | get_array_element (self, *args) |
| get_array_element(self) -> tinfo_t
|
|
"tinfo_t" | get_final_element (self, *args) |
| get_final_element(self) -> tinfo_t repeat recursively: if an array, return the type of its element; else return the type itself.
|
|
"int" | get_array_nelems (self, *args) |
| get_array_nelems(self) -> int
|
|
"tinfo_t" | get_nth_arg (self, *args) |
| get_nth_arg(self, n) -> tinfo_t BT_FUNC or BT_PTR BT_FUNC: Get type of n-th arg (-1 means return type, see get_rettype())
|
|
"tinfo_t" | get_rettype (self, *args) |
| get_rettype(self) -> tinfo_t BT_FUNC or BT_PTR BT_FUNC: Get the function's return type
|
|
"int" | get_nargs (self, *args) |
| get_nargs(self) -> int BT_FUNC or BT_PTR BT_FUNC: Calculate number of arguments (-1 - error)
|
|
"bool" | is_user_cc (self, *args) |
| is_user_cc(self) -> bool is_user_cc(get_cc())
|
|
"bool" | is_vararg_cc (self, *args) |
| is_vararg_cc(self) -> bool is_vararg_cc(get_cc())
|
|
"bool" | is_purging_cc (self, *args) |
| is_purging_cc(self) -> bool is_purging_cc(get_cc())
|
|
"int" | calc_purged_bytes (self, *args) |
| calc_purged_bytes(self) -> int
|
|
"bool" | is_high_func (self, *args) |
| is_high_func(self) -> bool
|
|
"bool" | get_methods (self, *args) |
| get_methods(self, methods) -> bool
|
|
"bool" | get_bit_buckets (self, *args) |
| get_bit_buckets(self, buckets) -> bool ::BT_STRUCT: get bit buckets Bit buckets are used to layout bitfields
|
|
"int" | find_udm (self, *args) |
| find_udm(self, udm, strmem_flags) -> int BTF_STRUCT,BTF_UNION: Find a udt member.
|
|
"int" | get_udt_nmembers (self, *args) |
| get_udt_nmembers(self) -> int Get number of udt members.
|
|
"bool" | is_empty_udt (self, *args) |
| is_empty_udt(self) -> bool Is an empty struct/union? (has no fields)
|
|
"bool" | is_small_udt (self, *args) |
| is_small_udt(self) -> bool Is a small udt? (can fit a register or a pair of registers)
|
|
"bool" | requires_qualifier (self, *args) |
| requires_qualifier(self, name, offset) -> bool Requires full qualifier? (name is not unique)
|
|
"bool" | append_covered (self, *args) |
| append_covered(self, out, offset=0) -> bool Calculate set of covered bytes for the type
|
|
"bool" | calc_gaps (self, *args) |
| calc_gaps(self, out) -> bool Calculate set of padding bytes for the type
|
|
"bool" | is_one_fpval (self, *args) |
| is_one_fpval(self) -> bool Floating value or an object consisting of one floating member entirely.
|
|
"bool" | is_sse_type (self, *args) |
| is_sse_type(self) -> bool Is a SSE vector type?
|
|
"bool" | is_anonymous_udt (self, *args) |
| is_anonymous_udt(self) -> bool Is an anonymous struct/union? We assume that types with names are anonymous if the name starts with $
|
|
"bool" | is_vftable (self, *args) |
| is_vftable(self) -> bool Is a vftable type?
|
|
"bool" | has_vftable (self, *args) |
| has_vftable(self) -> bool Has a vftable?
|
|
"bool" | has_union (self, *args) |
| has_union(self) -> bool Has a member of type "union"?
|
|
"type_t" | get_enum_base_type (self, *args) |
| get_enum_base_type(self) -> type_t Get enum base type (convert enum to integer type) Returns BT_UNK if failed to convert
|
|
"bool" | is_bitmask_enum (self, *args) |
| is_bitmask_enum(self) -> bool Is bitmask enum?
|
|
"int" | get_enum_radix (self, *args) |
| get_enum_radix(self) -> int Get enum constant radix
|
|
"tinfo_code_t" | get_edm (self, *args) |
| get_edm(self, edm, idx) -> tinfo_code_t Get enum member
|
|
"tinfo_code_t" | find_edm (self, *args) |
| find_edm(self, edm, value, bmask=bmask64_t(-1), serial=0) -> tinfo_code_t Find enum member
|
|
"tinfo_t" | get_onemember_type (self, *args) |
| get_onemember_type(self) -> tinfo_t For objects consisting of one member entirely: return type of the member.
|
|
"tinfo_t" | get_innermost_udm (self, *args) |
| get_innermost_udm(self, bitoffset) -> tinfo_t Get the innermost member at the given offset
|
|
"uint32" | calc_score (self, *args) |
| calc_score(self) -> uint32 Calculate the type score (the higher - the nicer is the type)
|
|
"char const *" | dstr (self, *args) |
| dstr(self) -> char const * Function to facilitate debugging.
|
|
"bool" | get_attrs (self, *args) |
| get_attrs(self, tav, all_attrs=False) -> bool Get type attributes (all_attrs: include attributes of referenced types, if any)
|
|
"bool" | set_attrs (self, *args) |
| set_attrs(self, tav) -> bool Set type attributes.
|
|
"bool" | set_attr (self, *args) |
| set_attr(self, ta, may_overwrite=True) -> bool Set a type attribute.
|
|
"void" | del_attrs (self, *args) |
| del_attrs(self) Del all type attributes.
|
|
"bool" | del_attr (self, *args) |
| del_attr(self, key, make_copy=True) -> bool Del a type attribute.
|
|
"bool" | create_simple_type (self, *args) |
| create_simple_type(self, decl_type) -> bool
|
|
"bool" | create_ptr (self, *args) |
| create_ptr(self, p, decl_type=BT_PTR) -> bool
|
|
"bool" | create_array (self, *args) |
| create_array(self, p, decl_type=BT_ARRAY) -> bool
|
|
"void" | create_typedef (self, *args) |
| create_typedef(self, p, decl_type=BTF_TYPEDEF, try_ordinal=True) -> bool
|
|
"bool" | create_bitfield (self, *args) |
| create_bitfield(self, p, decl_type=BT_BITFIELD) -> bool
|
|
"bool" | parse (self, *args) |
| parse(self, decl, til=None, pt_flags=0) -> bool Convenience function to parse a string with a type declaration
|
|
"bool" | create_udt (self, *args) |
| create_udt(self, p) -> bool
|
|
"bool" | create_enum (self, *args) |
| create_enum(self, p, decl_type=BTF_ENUM) -> bool
|
|
"bool" | create_func (self, *args) |
| create_func(self, p, decl_type=BT_FUNC) -> bool
|
|
"ssize_t" | get_udm_by_tid (self, *args) |
| get_udm_by_tid(self, udm, tid) -> ssize_t Retrive tinfo using type TID or struct/enum member MID
|
|
"ssize_t" | get_edm_by_tid (self, *args) |
| get_edm_by_tid(self, edm, tid) -> ssize_t
|
|
"bool" | get_type_by_tid (self, *args) |
| get_type_by_tid(self, tid) -> bool
|
|
"bool" | get_type_by_edm_name (self, *args) |
| get_type_by_edm_name(self, mname, til=None) -> bool Retrieve enum tinfo using enum member name
|
|
"tinfo_code_t" | set_named_type (self, *args) |
| set_named_type(self, til, name, ntf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | set_symbol_type (self, *args) |
| set_symbol_type(self, til, name, ntf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | set_numbered_type (self, *args) |
| set_numbered_type(self, til, ord, ntf_flags=0, name=None) -> tinfo_code_t
|
|
"tinfo_code_t" | save_type (self, *args) |
| save_type(self, ntf_flags=0x0001|0x0004) -> tinfo_code_t
|
|
"tinfo_code_t" | copy_type (self, *args) |
| copy_type(self, til, name, ntf_flags=0x0001|0x1000) -> tinfo_code_t
|
|
"tinfo_code_t" | create_forward_decl (self, *args) |
| create_forward_decl(self, til, decl_type, name, ntf_flags=0) -> tinfo_code_t Create a forward declaration.
|
|
"bool" | convert_array_to_ptr (self, *args) |
| convert_array_to_ptr(self) -> bool Convert an array into a pointer.
|
|
"bool" | remove_ptr_or_array (self, *args) |
| remove_ptr_or_array(self) -> bool Replace the current type with the ptr obj or array element.
|
|
"uint64" | read_bitfield_value (self, *args) |
| read_bitfield_value(self, v, bitoff) -> uint64
|
|
"uint64" | write_bitfield_value (self, *args) |
| write_bitfield_value(self, dst, v, bitoff) -> uint64
|
|
"type_t" | get_modifiers (self, *args) |
| get_modifiers(self) -> type_t
|
|
"void" | set_modifiers (self, *args) |
| set_modifiers(self, mod)
|
|
"void" | set_const (self, *args) |
| set_const(self)
|
|
"void" | set_volatile (self, *args) |
| set_volatile(self)
|
|
"void" | clr_decl_const_volatile (self, *args) |
| clr_decl_const_volatile(self)
|
|
"bool" | clr_const (self, *args) |
| clr_const(self) -> bool
|
|
"bool" | clr_volatile (self, *args) |
| clr_volatile(self) -> bool
|
|
"bool" | clr_const_volatile (self, *args) |
| clr_const_volatile(self) -> bool
|
|
"tinfo_code_t" | set_type_alignment (self, *args) |
| set_type_alignment(self, declalign, etf_flags=0) -> tinfo_code_t Set type alignment.
|
|
"bool" | set_declalign (self, *args) |
| set_declalign(self, declalign) -> bool
|
|
"bool" | change_sign (self, *args) |
| change_sign(self, sign) -> bool Change the type sign.
|
|
"bool" | calc_udt_aligns (self, *args) |
| calc_udt_aligns(self, sudt_flags=0x0004) -> bool Calculate the udt alignments using the field offsets/sizes and the total udt size This function does not work on typerefs
|
|
"bool" | set_methods (self, *args) |
| set_methods(self, methods) -> bool
|
|
"tinfo_code_t" | set_type_cmt (self, *args) |
| set_type_cmt(self, cmt, is_regcmt=False, etf_flags=0) -> tinfo_code_t Set type comment This function works only for non-trivial types
|
|
"uint32" | get_alias_target (self, *args) |
| get_alias_target(self) -> uint32 Get type alias If the type has no alias, return 0.
|
|
"bool" | is_aliased (self, *args) |
| is_aliased(self) -> bool
|
|
"bool" | set_type_alias (self, *args) |
| set_type_alias(self, dest_ord) -> bool Set type alias Redirects all references to source type to the destination type.
|
|
"tinfo_code_t" | set_udt_alignment (self, *args) |
| set_udt_alignment(self, sda, etf_flags=0) -> tinfo_code_t Set declared structure alignment (sda) This alignment supersedes the alignment returned by get_declalign() and is really used when calculating the struct layout.
|
|
"tinfo_code_t" | set_udt_pack (self, *args) |
| set_udt_pack(self, pack, etf_flags=0) -> tinfo_code_t Set structure packing.
|
|
"tid_t" | get_udm_tid (self, *args) |
| get_udm_tid(self, idx) -> tid_t Get udt member TID
|
|
"tinfo_code_t" | add_udm (self, *args) |
| add_udm(self, udm, etf_flags=0, times=1, idx=-1) -> tinfo_code_t Add a structure/union member.
|
|
"tinfo_code_t" | del_udm (self, *args) |
| del_udm(self, index, etf_flags=0) -> tinfo_code_t Delete a structure/union member.
|
|
"tinfo_code_t" | del_udms (self, *args) |
| del_udms(self, idx1, idx2, etf_flags=0) -> tinfo_code_t Delete structure/union members in the range [idx1, idx2)
|
|
"tinfo_code_t" | rename_udm (self, *args) |
| rename_udm(self, index, name, etf_flags=0) -> tinfo_code_t Rename a structure/union member.
|
|
"tinfo_code_t" | set_udm_type (self, *args) |
| set_udm_type(self, index, tif, etf_flags=0, repr=None) -> tinfo_code_t Set type of a structure/union member.
|
|
"tinfo_code_t" | set_udm_cmt (self, *args) |
| set_udm_cmt(self, index, cmt, is_regcmt=False, etf_flags=0) -> tinfo_code_t Set a comment for a structure/union member.
|
|
"tinfo_code_t" | set_udm_repr (self, *args) |
| set_udm_repr(self, index, repr, etf_flags=0) -> tinfo_code_t Set the representation of a structure/union member.
|
|
"tinfo_code_t" | expand_udt (self, *args) |
| expand_udt(self, idx, delta, etf_flags=0) -> tinfo_code_t Expand/shtrink a structure by adding/removing a gap before the specified member.
|
|
"tinfo_code_t" | set_enum_width (self, *args) |
| set_enum_width(self, nbytes, etf_flags=0) -> tinfo_code_t Set the width of enum base type
|
|
"tinfo_code_t" | set_enum_sign (self, *args) |
| set_enum_sign(self, sign, etf_flags=0) -> tinfo_code_t Set enum sign
|
|
"tinfo_code_t" | set_enum_is_bitmask (self, *args) |
| set_enum_is_bitmask(self, stance=ENUMBM_ON, etf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | set_enum_repr (self, *args) |
| set_enum_repr(self, repr, etf_flags=0) -> tinfo_code_t Set the representation of enum members.
|
|
"tinfo_code_t" | add_edm (self, *args) |
| add_edm(self, edm, bmask=bmask64_t(-1), etf_flags=0, idx=-1) -> tinfo_code_t Add a new enum member (a new symbolic constant)
|
|
"tinfo_code_t" | del_edms (self, *args) |
| del_edms(self, idx1, idx2, etf_flags=0) -> tinfo_code_t Delete enum members
|
|
"tinfo_code_t" | del_edm (self, *args) |
| del_edm(self, idx, etf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | rename_edm (self, *args) |
| rename_edm(self, idx, name, etf_flags=0) -> tinfo_code_t Rename a enum member
|
|
"tinfo_code_t" | set_edm_cmt (self, *args) |
| set_edm_cmt(self, idx, cmt, etf_flags=0) -> tinfo_code_t Set a comment for an enum member.
|
|
"tinfo_code_t" | edit_edm (self, *args) |
| edit_edm(self, idx, value, bmask=bmask64_t(-1), etf_flags=0) -> tinfo_code_t Change constant value and/or bitmask
|
|
"tinfo_code_t" | edit_udt (self, *args) |
| edit_udt(self, editor, etf_flags=0) -> tinfo_code_t Edit udt/enum/func/array/ptr/bitfield.
|
|
"tinfo_code_t" | edit_enum (self, *args) |
| edit_enum(self, editor, etf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | edit_func (self, *args) |
| edit_func(self, editor, etf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | edit_array (self, *args) |
| edit_array(self, editor, etf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | edit_ptr (self, *args) |
| edit_ptr(self, editor, etf_flags=0) -> tinfo_code_t
|
|
"tinfo_code_t" | edit_bitfield (self, *args) |
| edit_bitfield(self, editor, etf_flags=0) -> tinfo_code_t
|
|
"bool" | __eq__ (self, *args) |
| eq(self, r) -> bool
|
|
"bool" | __ne__ (self, *args) |
| ne(self, r) -> bool
|
|
"bool" | __lt__ (self, *args) |
| lt(self, r) -> bool
|
|
"bool" | __gt__ (self, *args) |
| gt(self, r) -> bool
|
|
"bool" | __le__ (self, *args) |
| le(self, r) -> bool
|
|
"bool" | __ge__ (self, *args) |
| ge(self, r) -> bool
|
|
"int" | compare (self, *args) |
| compare(self, r) -> int
|
|
"bool" | compare_with (self, *args) |
| compare_with(self, r, tcflags=0) -> bool Compare two types, based on given flags (see tinfo_t comparison flags)
|
|
"bool" | equals_to (self, *args) |
| equals_to(self, r) -> bool
|
|
"bool" | is_castable_to (self, *args) |
| is_castable_to(self, target) -> bool
|
|
"bool" | is_manually_castable_to (self, *args) |
| is_manually_castable_to(self, target) -> bool
|
|
"PyObject *" | serialize (self, *args) |
| serialize(self, sudt_flags=SUDT_FAST|SUDT_TRUNC) -> (bytes, NoneType, NoneType), (bytes, bytes, NoneType) Serialize tinfo_t object into a type string.
|
|
"bool" | deserialize (self, *args) |
| deserialize(self, til, ptype, pfields=None, pfldcmts=None, cmt=None) -> bool Deserialize a type string into a tinfo_t object.
|
|
"tinfo_t" | copy (self, *args) |
| copy(self) -> tinfo_t
|
|
"qstring" | __str__ (self, *args) |
| str(self) -> qstring
|
|
"PyObject *" | get_attr (self, *args) |
| get_attr(self, key, all_attrs=True) -> str or None Get a type attribute.
|
|