![]() |
IDA Domain Python API
|
Inherits object.
Public Member Functions | |
def | __init__ (self) |
def | open (self, *args) |
def | is_open (self) |
def | close (self, save) |
def | set_current_ea (self, ea) |
def | get_current_ea (self) |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
segments = property(_ida_domain.Database_segments_get, doc=) | |
functions = property(_ida_domain.Database_functions_get, doc=) | |
basic_blocks = property(_ida_domain.Database_basic_blocks_get, doc=) | |
instructions = property(_ida_domain.Database_instructions_get, doc=) | |
comments = property(_ida_domain.Database_comments_get, doc=) | |
strings = property(_ida_domain.Database_strings_get, doc=) | |
names = property(_ida_domain.Database_names_get, doc=) | |
types = property(_ida_domain.Database_types_get, doc=) | |
bytes = property(_ida_domain.Database_bytes_get, doc=) | |
signature_files = property(_ida_domain.Database_signature_files_get, doc=) | |
xrefs = property(_ida_domain.Database_xrefs_get, doc=) | |
maximum_ea = property(_get_maximum_ea, doc=) | |
minimum_ea = property(_get_minimum_ea, doc=) | |
entry_point = property(_get_entry_point, doc=) | |
metadata = property(_get_metadata, doc=) | |
Provides access and control over the loaded IDA database.
def ida_domain.Database.__init__ | ( | self | ) |
__init__(self) -> Database Constructs a new interface to the IDA database. When running inside IDA, this refers to the currently open database. Use open() to load a new database when using IDA as a library.
def ida_domain.Database.close | ( | self, | |
save | |||
) |
close(self, save) Closes the currently open database. :param save: If true, saves changes before closing; otherwise, discards them.
def ida_domain.Database.get_current_ea | ( | self | ) |
get_current_ea(self) -> ea_t Get the current effective address (equivalent to the "screen EA" in IDA GUI). :return: The current effective address.
def ida_domain.Database.is_open | ( | self | ) |
is_open(self) -> bool Checks if the database is loaded. :return: True if a database is open, false otherwise.
def ida_domain.Database.open | ( | self, | |
* | args | ||
) |
open(self, db_path, db_args=IdaCommandBuilder()) -> bool Opens a database from the specified file path. :param db_path: Path to the input file. :param db_args: Command builder responsible for passing arguments to IDA kernel. :return: True if the database was successfully opened, false otherwise.
def ida_domain.Database.set_current_ea | ( | self, | |
ea | |||
) |
set_current_ea(self, ea) -> bool Sets the current effective address (equivalent to the "screen EA" in IDA GUI). :param ea: :return: True if the address was successfully set, false otherwise.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |