1 #ifndef IDA_DOMAIN_BLOCK_HPP
2 #define IDA_DOMAIN_BLOCK_HPP
35 const ea_t m_start_ea;
41 qflow_chart_t m_flowchart;
47 bool create_flowchart();
55 : m_database(database), m_start_ea(start_ea), m_end_ea(end_ea)
87 return Iterator(m_database, start_ea, end_ea);
Iterator for basic blocks in a function.
Definition: basic_block.hpp:30
Iterator(const Database &database, const ea_t start_ea, const ea_t end_ea)
Constructs a basic block iterator for the specified function.
Definition: basic_block.hpp:54
int get_count()
Retrieves the number of basic blocks in the current range.
qbasic_block_t get_at_index(int index)
Retrieves the basic block at the given index.
Interface for working with basic blocks in functions.
Definition: basic_block.hpp:20
Instructions::Iterator get_instructions(const qbasic_block_t &block) const
Retrieves the instructions within a given basic block.
Iterator get_between(const ea_t start_ea, const ea_t end_ea) const
Retrieves all basic blocks between two addresses.
Definition: basic_block.hpp:85
BasicBlocks(const Database &database)
Constructs a basic block handler for the given database.
Definition: basic_block.hpp:72
Provides access and control over the loaded IDA database.
Definition: database.hpp:25
Iterator for instructions within a specified address range.
Definition: instruction.hpp:27
#define IDA_API
Definition: common_defines.hpp:11
#define ABI_VERSION_NS
Definition: version.hpp:17