|
"bool" | deserialize_tinfo (*args) |
| deserialize_tinfo(tif, til, ptype, pfields, pfldcmts, cmt=None) -> bool
|
|
"bool" | is_type_const (*args) |
| is_type_const(t) -> bool See BTM_CONST.
|
|
"bool" | is_type_volatile (*args) |
| is_type_volatile(t) -> bool See BTM_VOLATILE.
|
|
"type_t" | get_base_type (*args) |
| get_base_type(t) -> type_t Get get basic type bits (TYPE_BASE_MASK)
|
|
"type_t" | get_type_flags (*args) |
| get_type_flags(t) -> type_t Get type flags (TYPE_FLAGS_MASK)
|
|
"type_t" | get_full_type (*args) |
| get_full_type(t) -> type_t Get basic type bits + type flags (TYPE_FULL_MASK)
|
|
"bool" | is_typeid_last (*args) |
| is_typeid_last(t) -> bool Is the type_t the last byte of type declaration? (there are no additional bytes after a basic type, see _BT_LAST_BASIC)
|
|
"bool" | is_type_partial (*args) |
| is_type_partial(t) -> bool Identifies an unknown or void type with a known size (see Basic type: unknown & void)
|
|
"bool" | is_type_void (*args) |
| is_type_void(t) -> bool See BTF_VOID.
|
|
"bool" | is_type_unknown (*args) |
| is_type_unknown(t) -> bool See BT_UNKNOWN.
|
|
"bool" | is_type_ptr (*args) |
| is_type_ptr(t) -> bool See BT_PTR.
|
|
"bool" | is_type_complex (*args) |
| is_type_complex(t) -> bool See BT_COMPLEX.
|
|
"bool" | is_type_func (*args) |
| is_type_func(t) -> bool See BT_FUNC.
|
|
"bool" | is_type_array (*args) |
| is_type_array(t) -> bool See BT_ARRAY.
|
|
"bool" | is_type_typedef (*args) |
| is_type_typedef(t) -> bool See BTF_TYPEDEF.
|
|
"bool" | is_type_sue (*args) |
| is_type_sue(t) -> bool Is the type a struct/union/enum?
|
|
"bool" | is_type_struct (*args) |
| is_type_struct(t) -> bool See BTF_STRUCT.
|
|
"bool" | is_type_union (*args) |
| is_type_union(t) -> bool See BTF_UNION.
|
|
"bool" | is_type_struni (*args) |
| is_type_struni(t) -> bool Is the type a struct or union?
|
|
"bool" | is_type_enum (*args) |
| is_type_enum(t) -> bool See BTF_ENUM.
|
|
"bool" | is_type_bitfld (*args) |
| is_type_bitfld(t) -> bool See BT_BITFIELD.
|
|
"bool" | is_type_int (*args) |
| is_type_int(bt) -> bool Does the type_t specify one of the basic types in Basic type: integer?
|
|
"bool" | is_type_int128 (*args) |
| is_type_int128(t) -> bool Does the type specify a 128-bit value? (signed or unsigned, see Basic type: integer)
|
|
"bool" | is_type_int64 (*args) |
| is_type_int64(t) -> bool Does the type specify a 64-bit value? (signed or unsigned, see Basic type: integer)
|
|
"bool" | is_type_int32 (*args) |
| is_type_int32(t) -> bool Does the type specify a 32-bit value? (signed or unsigned, see Basic type: integer)
|
|
"bool" | is_type_int16 (*args) |
| is_type_int16(t) -> bool Does the type specify a 16-bit value? (signed or unsigned, see Basic type: integer)
|
|
"bool" | is_type_char (*args) |
| is_type_char(t) -> bool Does the type specify a char value? (signed or unsigned, see Basic type: integer)
|
|
"bool" | is_type_paf (*args) |
| is_type_paf(t) -> bool Is the type a pointer, array, or function type?
|
|
"bool" | is_type_ptr_or_array (*args) |
| is_type_ptr_or_array(t) -> bool Is the type a pointer or array type?
|
|
"bool" | is_type_floating (*args) |
| is_type_floating(t) -> bool Is the type a floating point type?
|
|
"bool" | is_type_integral (*args) |
| is_type_integral(t) -> bool Is the type an integral type (char/short/int/long/bool)?
|
|
"bool" | is_type_ext_integral (*args) |
| is_type_ext_integral(t) -> bool Is the type an extended integral type? (integral or enum)
|
|
"bool" | is_type_arithmetic (*args) |
| is_type_arithmetic(t) -> bool Is the type an arithmetic type? (floating or integral)
|
|
"bool" | is_type_ext_arithmetic (*args) |
| is_type_ext_arithmetic(t) -> bool Is the type an extended arithmetic type? (arithmetic or enum)
|
|
"bool" | is_type_uint (*args) |
| is_type_uint(t) -> bool See BTF_UINT.
|
|
"bool" | is_type_uchar (*args) |
| is_type_uchar(t) -> bool See BTF_UCHAR.
|
|
"bool" | is_type_uint16 (*args) |
| is_type_uint16(t) -> bool See BTF_UINT16.
|
|
"bool" | is_type_uint32 (*args) |
| is_type_uint32(t) -> bool See BTF_UINT32.
|
|
"bool" | is_type_uint64 (*args) |
| is_type_uint64(t) -> bool See BTF_UINT64.
|
|
"bool" | is_type_uint128 (*args) |
| is_type_uint128(t) -> bool See BTF_UINT128.
|
|
"bool" | is_type_ldouble (*args) |
| is_type_ldouble(t) -> bool See BTF_LDOUBLE.
|
|
"bool" | is_type_double (*args) |
| is_type_double(t) -> bool See BTF_DOUBLE.
|
|
"bool" | is_type_float (*args) |
| is_type_float(t) -> bool See BTF_FLOAT.
|
|
"bool" | is_type_tbyte (*args) |
| is_type_tbyte(t) -> bool See BTF_FLOAT.
|
|
"bool" | is_type_bool (*args) |
| is_type_bool(t) -> bool See BTF_BOOL.
|
|
"bool" | is_tah_byte (*args) |
| is_tah_byte(t) -> bool The TAH byte (type attribute header byte) denotes the start of type attributes.
|
|
"bool" | is_sdacl_byte (*args) |
| is_sdacl_byte(t) -> bool Identify an sdacl byte.
|
|
"bool" | append_argloc (*args) |
| append_argloc(out, vloc) -> bool Serialize argument location
|
|
"bool" | extract_argloc (*args) |
| extract_argloc(vloc, ptype, forbid_stkoff) -> bool Deserialize an argument location.
|
|
"type_t const *" | resolve_typedef (*args) |
| resolve_typedef(til, type) -> type_t const *
|
|
"bool" | is_restype_void (*args) |
| is_restype_void(til, type) -> bool
|
|
"bool" | is_restype_enum (*args) |
| is_restype_enum(til, type) -> bool
|
|
"bool" | is_restype_struni (*args) |
| is_restype_struni(til, type) -> bool
|
|
"bool" | is_restype_struct (*args) |
| is_restype_struct(til, type) -> bool
|
|
"type_t" | get_scalar_bt (*args) |
| get_scalar_bt(size) -> type_t
|
|
"til_t *" | new_til (*args) |
| new_til(name, desc) -> til_t Initialize a til.
|
|
"qstring *" | load_til (*args) |
| load_til(name, tildir=None) -> til_t Load til from a file without adding it to the database list (see also add_til).
|
|
"bool" | compact_til (*args) |
| compact_til(ti) -> bool Collect garbage in til.
|
|
"bool" | store_til (*args) |
| store_til(ti, tildir, name) -> bool Store til to a file.
|
|
"void" | free_til (*args) |
| free_til(ti) Free memory allocated by til.
|
|
"qstring *" | load_til_header (*args) |
| load_til_header(tildir, name) -> til_t Get human-readable til description.
|
|
"bool" | is_code_far (*args) |
| is_code_far(cm) -> bool Does the given model specify far code?.
|
|
"bool" | is_data_far (*args) |
| is_data_far(cm) -> bool Does the given model specify far data?.
|
|
"int" | verify_argloc (*args) |
| verify_argloc(vloc, size, gaps) -> int Verify argloc_t.
|
|
"bool" | optimize_argloc (*args) |
| optimize_argloc(vloc, size, gaps) -> bool Verify and optimize scattered argloc into simple form.
|
|
"size_t" | print_argloc (*args) |
| print_argloc(vloc, size=0, vflags=0) -> str Convert an argloc to human readable form.
|
|
"int" | for_all_arglocs (*args) |
| for_all_arglocs(vv, vloc, size, off=0) -> int Compress larger argloc types and initiate the aloc visitor.
|
|
"int" | for_all_const_arglocs (*args) |
| for_all_const_arglocs(vv, vloc, size, off=0) -> int See for_all_arglocs()
|
|
"bool" | is_user_cc (*args) |
| is_user_cc(cm) -> bool Does the calling convention specify argument locations explicitly?
|
|
"bool" | is_vararg_cc (*args) |
| is_vararg_cc(cm) -> bool Does the calling convention use ellipsis?
|
|
"bool" | is_purging_cc (*args) |
| is_purging_cc(cm) -> bool Does the calling convention clean the stack arguments upon return?.
|
|
"bool" | is_golang_cc (*args) |
| is_golang_cc(cc) -> bool GO language calling convention (return value in stack)?
|
|
"bool" | is_swift_cc (*args) |
| is_swift_cc(cc) -> bool Swift calling convention (arguments and return values in registers)?
|
|
"int" | callregs_t_regcount (*args) |
| callregs_t_regcount(cc) -> int
|
|
"comp_t" | get_comp (*args) |
| get_comp(comp) -> comp_t Get compiler bits.
|
|
"char const *" | get_compiler_name (*args) |
| get_compiler_name(id) -> char const * Get full compiler name.
|
|
"char const *" | get_compiler_abbr (*args) |
| get_compiler_abbr(id) -> char const * Get abbreviated compiler name.
|
|
"void" | get_compilers (*args) |
| get_compilers(ids, names, abbrs) Get names of all built-in compilers.
|
|
"comp_t" | is_comp_unsure (*args) |
| is_comp_unsure(comp) -> comp_t See COMP_UNSURE.
|
|
"comp_t" | default_compiler (*args) |
| default_compiler() -> comp_t Get compiler specified by inf.cc.
|
|
"bool" | is_gcc (*args) |
| is_gcc() -> bool Is the target compiler COMP_GNU?
|
|
"bool" | is_gcc32 (*args) |
| is_gcc32() -> bool Is the target compiler 32 bit gcc?
|
|
"bool" | is_gcc64 (*args) |
| is_gcc64() -> bool Is the target compiler 64 bit gcc?
|
|
"bool" | gcc_layout (*args) |
| gcc_layout() -> bool Should use the struct/union layout as done by gcc?
|
|
"bool" | set_compiler (*args) |
| set_compiler(cc, flags, abiname=None) -> bool Change current compiler.
|
|
"bool" | set_compiler_id (*args) |
| set_compiler_id(id, abiname=None) -> bool Set the compiler id (see Compiler IDs)
|
|
"bool" | set_abi_name (*args) |
| set_abi_name(abiname, user_level=False) -> bool Set abi name (see Compiler IDs)
|
|
"qstring *" | get_abi_name (*args) |
| get_abi_name() -> str Get ABI name.
|
|
"bool" | append_abi_opts (*args) |
| append_abi_opts(abi_opts, user_level=False) -> bool Add/remove/check ABI option General form of full abi name: abiname-opt1-opt2-... or -opt1-opt2-...
|
|
"bool" | remove_abi_opts (*args) |
| remove_abi_opts(abi_opts, user_level=False) -> bool
|
|
"bool" | set_compiler_string (*args) |
| set_compiler_string(compstr, user_level) -> bool
|
|
"bool" | use_golang_cc (*args) |
| use_golang_cc() -> bool is GOLANG calling convention used by default?
|
|
"void" | switch_to_golang (*args) |
| switch_to_golang() switch to GOLANG calling convention (to be used as default CC)
|
|
"int" | convert_pt_flags_to_hti (*args) |
| convert_pt_flags_to_hti(pt_flags) -> int Convert Type parsing flags to Type formatting flags.
|
|
"qstring *" | parse_decl (*args) |
| parse_decl(out_tif, til, decl, pt_flags) -> str Parse ONE declaration.
|
|
"int" | parse_decls (*args) |
| parse_decls(til, input, printer, hti_flags) -> int Parse many declarations and store them in a til.
|
|
"qstring *" | print_type (*args) |
| print_type(ea, prtype_flags) -> str Get type declaration for the specified address.
|
|
"char const *" | tinfo_errstr (*args) |
| tinfo_errstr(code) -> char const * Helper function to convert an error code into a printable string.
|
|
"bool" | del_named_type (*args) |
| del_named_type(ti, name, ntf_flags) -> bool Delete information about a symbol.
|
|
"char const *" | first_named_type (*args) |
| first_named_type(ti, ntf_flags) -> char const * Enumerate types.
|
|
"char const *" | next_named_type (*args) |
| next_named_type(ti, name, ntf_flags) -> char const * Enumerate types.
|
|
"uint32" | copy_named_type (*args) |
| copy_named_type(dsttil, srctil, name) -> uint32 Copy a named type from one til to another.
|
|
"qstring *" | gen_decorate_name (*args) |
| gen_decorate_name(name, mangle, cc, type) -> str Generic function for decorate_name() (may be used in IDP modules)
|
|
"qstring *" | calc_c_cpp_name (*args) |
| calc_c_cpp_name(name, type, ccn_flags) -> str Get C or C++ form of the name.
|
|
"bool" | enable_numbered_types (*args) |
| enable_numbered_types(ti, enable) -> bool Enable the use of numbered types in til.
|
|
"uint32" | alloc_type_ordinals (*args) |
| alloc_type_ordinals(ti, qty) -> uint32 Allocate a range of ordinal numbers for new types.
|
|
"uint32" | alloc_type_ordinal (*args) |
| alloc_type_ordinal(ti) -> uint32 alloc_type_ordinals(ti, 1)
|
|
"uint32" | get_ordinal_limit (*args) |
| get_ordinal_limit(ti=None) -> uint32 Get number of allocated ordinals + 1.
|
|
"uint32" | get_ordinal_count (*args) |
| get_ordinal_count(ti=None) -> uint32 Get number of allocated ordinals.
|
|
"tinfo_code_t" | set_numbered_type (*args) |
| set_numbered_type(ti, ordinal, ntf_flags, name, type, fields=None, cmt=None, fldcmts=None, sclass=None) -> tinfo_code_t Store a type in the til.
|
|
"bool" | del_numbered_type (*args) |
| del_numbered_type(ti, ordinal) -> bool Delete a numbered type.
|
|
"bool" | set_type_alias (*args) |
| set_type_alias(ti, src_ordinal, dst_ordinal) -> bool Create a type alias.
|
|
"uint32" | get_alias_target (*args) |
| get_alias_target(ti, ordinal) -> uint32 Find the final alias destination.
|
|
"int32" | get_type_ordinal (*args) |
| get_type_ordinal(ti, name) -> int32 Get type ordinal by its name.
|
|
"char const *" | get_numbered_type_name (*args) |
| get_numbered_type_name(ti, ordinal) -> char const * Get type name (if exists) by its ordinal.
|
|
"qstring *" | create_numbered_type_name (*args) |
| create_numbered_type_name(ord) -> str Create anonymous name for numbered type.
|
|
"bool" | is_ordinal_name (*args) |
| is_ordinal_name(name, ord=None) -> bool Check if the name is an ordinal name.
|
|
"int" | get_ordinal_from_idb_type (*args) |
| get_ordinal_from_idb_type(name, type) -> int Get ordinal number of an idb type (struct/enum).
|
|
"bool" | is_autosync (*args) |
| is_autosync(name, type) -> bool Is the specified idb type automatically synchronized?
|
|
"bool" | is_type_choosable (*args) |
| is_type_choosable(ti, ordinal) -> bool Check if a struct/union type is choosable
|
|
"void" | set_type_choosable (*args) |
| set_type_choosable(ti, ordinal, value) Enable/disable 'choosability' flag for a struct/union type
|
|
"ea_t" | get_vftable_ea (*args) |
| get_vftable_ea(ordinal) -> ea_t Get address of a virtual function table.
|
|
"uint32" | get_vftable_ordinal (*args) |
| get_vftable_ordinal(vftable_ea) -> uint32 Get ordinal number of the virtual function table.
|
|
"bool" | set_vftable_ea (*args) |
| set_vftable_ea(ordinal, vftable_ea) -> bool Set the address of a vftable instance for a vftable type.
|
|
"bool" | del_vftable_ea (*args) |
| del_vftable_ea(ordinal) -> bool Delete the address of a vftable instance for a vftable type.
|
|
"bool" | deref_ptr (*args) |
| deref_ptr(ptr_ea, tif, closure_obj=None) -> bool Dereference a pointer.
|
|
"tid_t" | import_type (*args) |
| import_type(til, idx, name, flags=0) -> tid_t Copy a named type from til to idb.
|
|
"int" | add_til (*args) |
| add_til(name, flags) -> int Load a til file and add it the database type libraries list.
|
|
"bool" | del_til (*args) |
| del_til(name) -> bool Unload a til file.
|
|
"bool" | apply_named_type (*args) |
| apply_named_type(ea, name) -> bool Apply the specified named type to the address.
|
|
"bool" | apply_tinfo (*args) |
| apply_tinfo(ea, tif, flags) -> bool Apply the specified type to the specified address.
|
|
"bool" | apply_cdecl (*args) |
| apply_cdecl(til, ea, decl, flags=0) -> bool Apply the specified type to the address.
|
|
"bool" | apply_callee_tinfo (*args) |
| apply_callee_tinfo(caller, tif) -> bool Apply the type of the called function to the calling instruction.
|
|
"bool" | apply_once_tinfo_and_name (*args) |
| apply_once_tinfo_and_name(dea, tif, name) -> bool Apply the specified type and name to the address.
|
|
"int" | guess_tinfo (*args) |
| guess_tinfo(out, id) -> int Generate a type information about the id from the disassembly.
|
|
"void" | set_c_header_path (*args) |
| set_c_header_path(incdir) Set include directory path the target compiler.
|
|
"qstring *" | get_c_header_path (*args) |
| get_c_header_path() -> str Get the include directory path of the target compiler.
|
|
"void" | set_c_macros (*args) |
| set_c_macros(macros) Set predefined macros for the target compiler.
|
|
"qstring *" | get_c_macros (*args) |
| get_c_macros() -> str Get predefined macros for the target compiler.
|
|
"til_t *" | get_idati (*args) |
| get_idati() -> til_t Pointer to the local type library - this til is private for each IDB file Functions that accept til_t* default to idati when is nullptr provided.
|
|
"size_t *, flags_t *, opinfo_t *, size_t *" | get_idainfo_by_type (*args) |
| get_idainfo_by_type(tif) -> bool Extract information from a tinfo_t.
|
|
"size_t *, opinfo_t *, size_t *" | get_idainfo64_by_type (*args) |
| get_idainfo64_by_type(out_flags, tif) -> bool Extract information from a tinfo_t.
|
|
"bool" | get_tinfo_by_flags (*args) |
| get_tinfo_by_flags(out, flags) -> bool Get tinfo object that corresponds to data flags
|
|
"void" | copy_tinfo_t (*args) |
| copy_tinfo_t(_this, r)
|
|
"void" | clear_tinfo_t (*args) |
| clear_tinfo_t(_this)
|
|
"bool" | create_tinfo2 (*args) |
| create_tinfo2(_this, bt, bt2, ptr) -> bool
|
|
"int" | verify_tinfo (*args) |
| verify_tinfo(typid) -> int
|
|
"bool" | get_tinfo_details2 (*args) |
| get_tinfo_details2(typid, bt2, buf) -> bool
|
|
"size_t" | get_tinfo_size (*args) |
| get_tinfo_size(p_effalign, typid, gts_code) -> size_t
|
|
"size_t" | get_tinfo_pdata (*args) |
| get_tinfo_pdata(outptr, typid, what) -> size_t
|
|
"size_t" | get_tinfo_property (*args) |
| get_tinfo_property(typid, gta_prop) -> size_t
|
|
"size_t" | get_tinfo_property4 (*args) |
| get_tinfo_property4(typid, gta_prop, p1, p2, p3, p4) -> size_t
|
|
"size_t" | set_tinfo_property (*args) |
| set_tinfo_property(tif, sta_prop, x) -> size_t
|
|
"size_t" | set_tinfo_property4 (*args) |
| set_tinfo_property4(tif, sta_prop, p1, p2, p3, p4) -> size_t
|
|
"bool" | serialize_tinfo (*args) |
| serialize_tinfo(type, fields, fldcmts, tif, sudt_flags) -> bool
|
|
"int" | find_tinfo_udt_member (*args) |
| find_tinfo_udt_member(udm, typid, strmem_flags) -> int
|
|
"qstring *" | print_tinfo (*args) |
| print_tinfo(prefix, indent, cmtindent, flags, tif, name, cmt) -> str
|
|
"char const *" | dstr_tinfo (*args) |
| dstr_tinfo(tif) -> char const *
|
|
"int" | visit_subtypes (*args) |
| visit_subtypes(visitor, out, tif, name, cmt) -> int
|
|
"bool" | compare_tinfo (*args) |
| compare_tinfo(t1, t2, tcflags) -> bool
|
|
"int" | lexcompare_tinfo (*args) |
| lexcompare_tinfo(t1, t2, arg3) -> int
|
|
"bool" | get_stock_tinfo (*args) |
| get_stock_tinfo(tif, id) -> bool
|
|
"uint64" | read_tinfo_bitfield_value (*args) |
| read_tinfo_bitfield_value(typid, v, bitoff) -> uint64
|
|
"uint64" | write_tinfo_bitfield_value (*args) |
| write_tinfo_bitfield_value(typid, dst, v, bitoff) -> uint64
|
|
"bool" | get_tinfo_attr (*args) |
| get_tinfo_attr(typid, key, bv, all_attrs) -> bool
|
|
"bool" | set_tinfo_attr (*args) |
| set_tinfo_attr(tif, ta, may_overwrite) -> bool
|
|
"bool" | del_tinfo_attr (*args) |
| del_tinfo_attr(tif, key, make_copy) -> bool
|
|
"bool" | get_tinfo_attrs (*args) |
| get_tinfo_attrs(typid, tav, include_ref_attrs) -> bool
|
|
"bool" | set_tinfo_attrs (*args) |
| set_tinfo_attrs(tif, ta) -> bool
|
|
"uint32" | score_tinfo (*args) |
| score_tinfo(tif) -> uint32
|
|
"tinfo_code_t" | save_tinfo (*args) |
| save_tinfo(tif, til, ord, name, ntf_flags) -> tinfo_code_t
|
|
"bool" | append_tinfo_covered (*args) |
| append_tinfo_covered(out, typid, offset) -> bool
|
|
"bool" | calc_tinfo_gaps (*args) |
| calc_tinfo_gaps(out, typid) -> bool
|
|
"bool" | value_repr_t__from_opinfo (*args) |
| value_repr_t__from_opinfo(_this, flags, afl, opinfo, ap) -> bool
|
|
"qstring *" | value_repr_t__print_ (*args) |
| value_repr_t__print_(_this, colored) -> str
|
|
"ssize_t" | udt_type_data_t__find_member (*args) |
| udt_type_data_t__find_member(_this, udm, strmem_flags) -> ssize_t
|
|
"bool" | udm_t__make_gap (*args) |
| udm_t__make_gap(_this, byteoff, nbytes) -> bool
|
|
"ssize_t" | udt_type_data_t__get_best_fit_member (*args) |
| udt_type_data_t__get_best_fit_member(_this, disp) -> ssize_t
|
|
"tid_t" | get_udm_tid (*args) |
| get_udm_tid(udm, udt_name) -> tid_t
|
|
"uchar" | enum_type_data_t__get_max_serial (*args) |
| enum_type_data_t__get_max_serial(ei, value) -> uchar
|
|
"tid_t" | get_tinfo_tid (*args) |
| get_tinfo_tid(tif, force_tid) -> tid_t
|
|
"tinfo_t" | remove_pointer (*args) |
| remove_pointer(tif) -> tinfo_t
|
|
"tinfo_t" | tinfo_t_get_stock (*args) |
| tinfo_t_get_stock(id) -> tinfo_t
|
|
"cm_t" | guess_func_cc (*args) |
| guess_func_cc(fti, npurged, cc_flags) -> cm_t Use func_type_data_t.guess_cc()
|
|
"qstring *" | dump_func_type_data (*args) |
| dump_func_type_data(fti, praloc_bits) -> str Use func_type_data_t.dump()
|
|
"bool" | inf_pack_stkargs (*args) |
| inf_pack_stkargs() -> bool inf_pack_stkargs(cc) -> bool
|
|
"bool" | inf_big_arg_align (*args) |
| inf_big_arg_align() -> bool inf_big_arg_align(cc) -> bool
|
|
"bool" | inf_huge_arg_align (*args) |
| inf_huge_arg_align() -> bool inf_huge_arg_align(cc) -> bool
|
|
"error_t" | unpack_idcobj_from_idb (*args) |
| unpack_idcobj_from_idb(obj, tif, ea, off0, pio_flags=0) -> error_t Collection of register objects.
|
|
"error_t" | unpack_idcobj_from_bv (*args) |
| unpack_idcobj_from_bv(obj, tif, bytes, pio_flags=0) -> error_t Read a typed idc object from the byte vector.
|
|
"error_t" | pack_idcobj_to_idb (*args) |
| pack_idcobj_to_idb(obj, tif, ea, pio_flags=0) -> error_t Write a typed idc object to the database.
|
|
"error_t" | pack_idcobj_to_bv (*args) |
| pack_idcobj_to_bv(obj, tif, bytes, objoff, pio_flags=0) -> error_t Write a typed idc object to the byte vector.
|
|
"bool" | apply_tinfo_to_stkarg (*args) |
| apply_tinfo_to_stkarg(insn, x, v, tif, name) -> bool Helper function for the processor modules.
|
|
"void" | gen_use_arg_tinfos2 (*args) |
| gen_use_arg_tinfos2(_this, caller, fti, rargs) Do not call this function directly, use argtinfo_helper_t.
|
|
"bool" | func_has_stkframe_hole (*args) |
| func_has_stkframe_hole(ea, fti) -> bool Looks for a hole at the beginning of the stack arguments.
|
|
"int" | lower_type (*args) |
| lower_type(til, tif, name=None, _helper=None) -> int Lower type.
|
|
"int" | replace_ordinal_typerefs (*args) |
| replace_ordinal_typerefs(til, tif) -> int Replace references to ordinal types by name references.
|
|
"void" | begin_type_updating (*args) |
| begin_type_updating(utp) Mark the beginning of a large update operation on the types.
|
|
"void" | end_type_updating (*args) |
| end_type_updating(utp) Mark the end of a large update operation on the types (see begin_type_updating())
|
|
"tid_t" | get_named_type_tid (*args) |
| get_named_type_tid(name) -> tid_t Get named local type TID
|
|
"qstring *" | get_tid_name (*args) |
| get_tid_name(tid) -> str Get a type name for the specified TID
|
|
"uint32" | get_tid_ordinal (*args) |
| get_tid_ordinal(tid) -> uint32 Get type ordinal number for TID
|
|
"ssize_t" | get_udm_by_fullname (*args) |
| get_udm_by_fullname(udm, fullname) -> ssize_t Get udt member by full name
|
|
"tid_t" | create_enum_type (*args) |
| create_enum_type(enum_name, ei, enum_width, sign, convert_to_bitmask, enum_cmt=None) -> tid_t Create type enum
|
|
"int" | calc_number_of_children (*args) |
| calc_number_of_children(loc, tif, dont_deref_ptr=False) -> int Calculate max number of lines of a formatted c data, when expanded (PTV_EXPAND).
|
|
"qstring *" | get_enum_member_expr (*args) |
| get_enum_member_expr(tif, serial, value) -> str Return a C expression that can be used to represent an enum member.
|
|
"bool" | choose_named_type (*args) |
| choose_named_type(out_sym, root_til, title, ntf_flags, predicate=None) -> bool Choose a type from a type library.
|
|
"uint32" | choose_local_tinfo (*args) |
| choose_local_tinfo(ti, title, func=None, def_ord=0, ud=None) -> uint32 Choose a type from the local type library.
|
|
"uint32" | choose_local_tinfo_and_delta (*args) |
| choose_local_tinfo_and_delta(delta, ti, title, func=None, def_ord=0, ud=None) -> uint32 Choose a type from the local type library and specify the pointer shift value.
|
|
"void" | gen_use_arg_tinfos (*args) |
| gen_use_arg_tinfos(caller, fti, rargs, set_optype, is_stkarg_load, has_delay_slot)
|
|
"bool" | create_tinfo (*args) |
| create_tinfo(_this, bt, bt2, ptr) -> bool
|
|
"bool" | get_tinfo_details (*args) |
| get_tinfo_details(typid, bt2, buf) -> bool
|
|
"uint32" | get_ordinal_qty (*args) |
| get_ordinal_qty(ti) -> uint32
|
|
"PyObject *" | idc_parse_decl (*args) |
| idc_parse_decl(ti, decl, flags) -> (str, bytes, bytes) or None
|
|
"PyObject *" | calc_type_size (*args) |
|
"bool" | apply_type (*args) |
| apply_type(ti, type, fields, ea, flags) -> bool Apply the specified type to the address
|
|
"PyObject *" | get_arg_addrs (*args) |
| get_arg_addrs(caller) -> PyObject * Retrieve addresses of argument initialization instructions
|
|
"PyObject *" | unpack_object_from_idb (*args) |
| unpack_object_from_idb(ti, type, fields, ea, pio_flags=0) -> PyObject *
|
|
"PyObject *" | unpack_object_from_bv (*args) |
|
"PyObject *" | pack_object_to_idb (*args) |
| pack_object_to_idb(py_obj, ti, type, fields, ea, pio_flags=0) -> PyObject * Write a typed object to the database.
|
|
"PyObject *" | pack_object_to_bv (*args) |
|
"int" | idc_parse_types (*args) |
| idc_parse_types(input, flags) -> int
|
|
"PyObject *" | idc_get_type_raw (*args) |
| idc_get_type_raw(ea) -> PyObject *
|
|
"PyObject *" | idc_get_local_type_raw (*args) |
| idc_get_local_type_raw(ordinal) -> (bytes, bytes)
|
|
"size_t" | idc_guess_type (*args) |
| idc_guess_type(ea) -> str
|
|
"size_t" | idc_get_type (*args) |
| idc_get_type(ea) -> str
|
|
"int" | idc_set_local_type (*args) |
| idc_set_local_type(ordinal, dcl, flags) -> int
|
|
"size_t" | idc_get_local_type (*args) |
| idc_get_local_type(ordinal, flags) -> str
|
|
"PyObject *" | idc_print_type (*args) |
| idc_print_type(type, fields, name, flags) -> str
|
|
"size_t" | idc_get_local_type_name (*args) |
| idc_get_local_type_name(ordinal) -> str
|
|
"PyObject *" | get_named_type (*args) |
|
"PyObject *" | get_named_type64 (*args) |
| get_named_type64(til, name, ntf_flags) -> (int, bytes, NoneType, NoneType, NoneType, int, int) See get_named_type() above.
|
|
"PyObject *" | print_decls (*args) |
| print_decls(printer, til, py_ordinals, flags) -> int Print types (and possibly their dependencies) in a format suitable for using in a header file.
|
|
"PyObject *" | remove_tinfo_pointer (*args) |
| remove_tinfo_pointer(tif, name, til) -> (bool, NoneType), (bool, str) Remove pointer of a type.
|
|
"PyObject *" | get_numbered_type (*args) |
| get_numbered_type(til, ordinal) -> (bytes, NoneType, NoneType, NoneType, int), (bytes, bytes, NoneType, NoneType, int) Retrieve a type by its ordinal number.
|
|