Provides access to type information and manipulation in the IDA database.
More...
#include <type.hpp>
|
| Types (const Database &database) |
| Constructs a types handler for the given database. More...
|
|
std::pair< bool, std::string > | get_type_name (const ea_t ea) const |
| Retrieves the type information of the item at the given address. More...
|
|
bool | apply_named_type (const ea_t ea, const std::string &type) const |
| Applies a named type to the given address. More...
|
|
Iterator | get_all () const |
| Retrieves an iterator over all user-defined types in the database. More...
|
|
Provides access to type information and manipulation in the IDA database.
◆ Types()
Types::Types |
( |
const Database & |
database | ) |
|
|
inline |
Constructs a types handler for the given database.
- Parameters
-
database | Reference to the active IDA database. |
◆ apply_named_type()
bool Types::apply_named_type |
( |
const ea_t |
ea, |
|
|
const std::string & |
type |
|
) |
| const |
Applies a named type to the given address.
- Parameters
-
ea | The effective address. |
type | The name of the type to apply. |
- Returns
- True if the type was applied successfully, false otherwise.
◆ get_all()
Retrieves an iterator over all user-defined types in the database.
- Returns
- A TypesIterator instance.
◆ get_type_name()
std::pair<bool, std::string> Types::get_type_name |
( |
const ea_t |
ea | ) |
const |
Retrieves the type information of the item at the given address.
- Parameters
-
- Returns
- A pair (success, string representing the type name). If not found, success is false.
The documentation for this class was generated from the following file:
- /home/runner/work/ida-api-domain/ida-api-domain/include/entities/type.hpp