![]() |
IDA Domain Python API
|
Inherits object.
Public Member Functions | |
def | __init__ (self, database) |
def | get_type_name (self, ea) |
def | apply_named_type (self, ea, type) |
def | get_all (self) |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Provides access to type information and manipulation in the IDA database.
def ida_domain.Types.__init__ | ( | self, | |
database | |||
) |
__init__(self, database) -> Types Constructs a types handler for the given database. :param database: Reference to the active IDA database.
def ida_domain.Types.apply_named_type | ( | self, | |
ea, | |||
type | |||
) |
apply_named_type(self, ea, type) -> bool Applies a named type to the given address. :param ea: The effective address. :param type: The name of the type to apply. :return: True if the type was applied successfully, false otherwise.
def ida_domain.Types.get_all | ( | self | ) |
get_all(self) -> TypesIterator Retrieves an iterator over all user-defined types in the database. :return: A TypesIterator instance.
def ida_domain.Types.get_type_name | ( | self, | |
ea | |||
) |
get_type_name(self, ea) -> BoolStringPair Retrieves the type information of the item at the given address. :param ea: The effective address. :return: A pair (success, string representing the type name). If not found, success is false.
|
static |