binaryninja.types.Type

class binaryninja.types.Type(handle)[source]
__init__(handle)[source]

Methods

__init__(handle)
array(t, count)
bool()
enumeration_type(arch, e[, width])
float(width)
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_demanged_type_id_source()
get_string_after_name()
get_string_before_name()
get_tokens_after_name()
get_tokens_before_name()
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])
structure_type(structure_type)
void()

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)
parameters Type parameters list (read-only)
return_value Return value (read-only)
signed Wether type is signed (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)