binaryninja.types.Type¶
-
class
binaryninja.types.
Type
(handle, platform=None, confidence=255)[source]¶ -
Methods
__init__
(handle[, platform, confidence])array
(t, count)bool
()enumeration_type
(arch, e[, width, sign])float
(width[, altname])float
class method for creating an floating point Types.function
(ret, params[, calling_convention, ...])function
class 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])int
class 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
alignment
Type alignment (read-only) calling_convention
Calling convention (read-only) can_return
Whether type can return (read-only) const
Whether type is const (read-only) count
Type count (read-only) element_type
Target (read-only) enumeration
Type enumeration (read-only) has_variable_arguments
Whether type has variable arguments (read-only) modified
Whether type is modified (read-only) named_type_reference
Reference to a named type (read-only) offset
Offset into structure (read-only) parameters
Type parameters list (read-only) return_value
Return value (read-only) signed
Wether type is signed (read-only) stack_adjustment
Stack adjustment for function (read-only) structure
Structure of the type (read-only) target
Target (read-only) tokens
Type string as a list of tokens (read-only) type_class
Type class (read-only) width
Type width (read-only)