Provides access to string-related operations in the IDA database.
More...
#include <string.hpp>
|
| Strings (const Database &database) |
| Constructs a strings handler for the given database. More...
|
|
int | get_count () const |
| Retrieves the total number of extracted strings. More...
|
|
std::pair< ea_t, std::string > | get_at_index (int index) const |
| Retrieves the string at the specified index. More...
|
|
std::pair< bool, std::string > | get_at (const ea_t ea) const |
| Retrieves the string located at the specified address. More...
|
|
Iterator | get_all () const |
| Retrieves an iterator over all extracted strings in the database. More...
|
|
Provides access to string-related operations in the IDA database.
◆ Strings()
Strings::Strings |
( |
const Database & |
database | ) |
|
|
inline |
Constructs a strings handler for the given database.
- Parameters
-
database | Reference to the active IDA database. |
◆ get_all()
Retrieves an iterator over all extracted strings in the database.
- Returns
- A StringsIterator instance.
◆ get_at()
std::pair<bool, std::string> Strings::get_at |
( |
const ea_t |
ea | ) |
const |
Retrieves the string located at the specified address.
- Parameters
-
- Returns
- A pair (success, string content). If not found, success is false.
◆ get_at_index()
std::pair<ea_t, std::string> Strings::get_at_index |
( |
int |
index | ) |
const |
Retrieves the string at the specified index.
- Parameters
-
index | Index of the string to retrieve. |
- Returns
- A pair (effective address, string content) at the given index.
◆ get_count()
int Strings::get_count |
( |
| ) |
const |
Retrieves the total number of extracted strings.
- Returns
- The number of stored strings.
The documentation for this class was generated from the following file:
- /home/runner/work/ida-api-domain/ida-api-domain/include/entities/string.hpp