Provides access to symbol and label management in the IDA database.
More...
#include <name.hpp>
|
| Names (const Database &database) |
| Constructs a names handler for the given database. More...
|
|
std::pair< bool, std::string > | get_at (const ea_t ea) const |
| Retrieves the name at the specified address. More...
|
|
int | get_count () const |
| Retrieves the total number of named elements in the database. More...
|
|
std::pair< ea_t, std::string > | get_at_index (int index) const |
| Retrieves the named element at the specified index. More...
|
|
Iterator | get_all () const |
| Returns an iterator over all named elements in the database. More...
|
|
Provides access to symbol and label management in the IDA database.
◆ Names()
Names::Names |
( |
const Database & |
database | ) |
|
|
inline |
Constructs a names handler for the given database.
- Parameters
-
database | Reference to the active IDA database. |
◆ get_all()
Returns an iterator over all named elements in the database.
- Returns
- A names iterator.
◆ get_at()
std::pair<bool, std::string> Names::get_at |
( |
const ea_t |
ea | ) |
const |
Retrieves the name at the specified address.
- Parameters
-
- Returns
- A pair (bool success, name string). If the name doesn't exist, bool is false.
◆ get_at_index()
std::pair<ea_t, std::string> Names::get_at_index |
( |
int |
index | ) |
const |
Retrieves the named element at the specified index.
- Parameters
-
index | The index in the name list. |
- Returns
- A pair (effective address, name string) at the given index.
◆ get_count()
int Names::get_count |
( |
| ) |
const |
Retrieves the total number of named elements in the database.
- Returns
- The count of named elements.
The documentation for this class was generated from the following file:
- /home/runner/work/ida-api-domain/ida-api-domain/include/entities/name.hpp