binaryninja.types.Type¶
-
class
Type(handle, platform=None, confidence=255)[source]¶ -
__init__(handle, platform=None, confidence=255)[source]¶ x.__init__(…) initializes x; see help(type(x)) for signature
Methods
__init__(handle[, platform, confidence])x.__init__(…) initializes x; see help(type(x)) for signature array(t, count)bool()char()enumeration_type(arch, e[, width, sign])float(width[, altname])floatclass method for creating an floating point Types.function(ret, params[, calling_convention, …])functionclass method for creating an function Type.generate_auto_demangled_type_id(name)generate_auto_type_id(source, name)get_auto_demangled_type_id_source()get_string_after_name()get_string_before_name()get_tokens([base_confidence])get_tokens_after_name([base_confidence])get_tokens_before_name([base_confidence])int(width[, sign, altname])intclass method for creating an int Type.named_type(named_type[, width, align])named_type_from_registered_type(view, name)named_type_from_type(name, t)named_type_from_type_and_id(type_id, name, t)pointer(arch, t[, const, volatile, ref_type])structure_type(structure_type)void()with_confidence(confidence)Attributes
alignmentType alignment (read-only) calling_conventionCalling convention (read-only) can_returnWhether type can return (read-only) constWhether type is const (read/write) countType count (read-only) element_typeTarget (read-only) enumerationType enumeration (read-only) has_variable_argumentsWhether type has variable arguments (read-only) modifiedWhether type is modified (read-only) named_type_referenceReference to a named type (read-only) offsetOffset into structure (read-only) parametersType parameters list (read-only) return_valueReturn value (read-only) signedWether type is signed (read-only) stack_adjustmentStack adjustment for function (read-only) structureStructure of the type (read-only) targetTarget (read-only) tokensType string as a list of tokens (read-only) type_classType class (read-only) widthType width (read-only) -