1 #ifndef IDA_DOMAIN_DATABASE_HPP
2 #define IDA_DOMAIN_DATABASE_HPP
Interface for working with basic blocks in functions.
Definition: basic_block.hpp:20
Handles operations related to raw data access from the IDA database.
Definition: bytes.hpp:14
Provides access and control over the loaded IDA database.
Definition: database.hpp:25
ea_t get_maximum_ea() const
Get the maximum effective address from this database.
std::map< std::string, std::string > get_metadata() const
Retrieves a map of key-value metadata about the current database.
const Functions functions
Handler that provides access to function-related operations.
Definition: database.hpp:80
const Names names
Handler that provides access to name-related operations.
Definition: database.hpp:95
const SignaturesFiles signature_files
Handler that provides access to signature file operations.
Definition: database.hpp:104
bool is_open() const
Checks if the database is loaded.
bool open(const std::string &db_path, const IdaCommandBuilder &db_args=IdaCommandBuilder())
Opens a database from the specified file path.
ea_t get_current_ea() const
Get the current effective address (equivalent to the "screen EA" in IDA GUI).
const Xrefs xrefs
Handler that provides access to cross-reference (xref) operations.
Definition: database.hpp:107
const Instructions instructions
Handler that provides access to instruction-related operations.
Definition: database.hpp:86
Database()
Constructs a new interface to the IDA database.
const Bytes bytes
Handler that provides access to byte-level memory operations.
Definition: database.hpp:101
bool set_current_ea(const ea_t ea) const
Sets the current effective address (equivalent to the "screen EA" in IDA GUI).
ea_t get_minimum_ea() const
Get the minimum effective address from this database.
const Segments segments
Handler that provides access to memory segment-related operations.
Definition: database.hpp:77
void close(bool save)
Closes the currently open database.
const Comments comments
Handler that provides access to user comment-related operations.
Definition: database.hpp:89
const Strings strings
Handler that provides access to string-related operations.
Definition: database.hpp:92
const Types types
Handler that provides access to type-related operations.
Definition: database.hpp:98
ea_t get_entry_point() const
Retrieves the entry point address of the binary.
const BasicBlocks basic_blocks
Handler that provides access to basic block-related operations.
Definition: database.hpp:83
Provides access to function-related operations within the database.
Definition: function.hpp:21
Class to build and manage IDA command line options. Provides a fluent interface to set options and ge...
Definition: ida_command_builder.hpp:18
Provides access to instruction-related operations.
Definition: instruction.hpp:17
Provides access to symbol and label management in the IDA database.
Definition: name.hpp:16
Provides access to segment-related operations in the IDA database.
Definition: segment.hpp:17
Provides access to FLIRT signature (.sig) files in the IDA database.
Definition: signature_file.hpp:16
Provides access to string-related operations in the IDA database.
Definition: string.hpp:17
Provides access to type information and manipulation in the IDA database.
Definition: type.hpp:17
Provides access to cross-reference (xref) analysis in the IDA database.
Definition: xref.hpp:18
#define IDA_API
Definition: common_defines.hpp:11
#define ABI_VERSION_NS
Definition: version.hpp:17