Abstract base class providing common utilities for structure types that interact with emulated memory.
More...
#include <struct_utils.hpp>
Abstract base class providing common utilities for structure types that interact with emulated memory.
◆ ~AbsArionStructType()
| virtual arion_poly_struct::AbsArionStructType::~AbsArionStructType |
( |
| ) |
|
|
protectedvirtualdefault |
Protected destructor to ensure deletion only via smart pointers or derived classes.
◆ arion_curr_arch()
Retrieves the current architecture of the emulated CPU.
- Parameters
-
| [in] | arion | Shared pointer to the Arion instance. |
- Returns
- The
CPU_ARCH of the emulated system.
◆ arion_is_mapped()
| bool arion_poly_struct::AbsArionStructType::arion_is_mapped |
( |
std::shared_ptr< arion::Arion > |
arion, |
|
|
arion::ADDR |
addr |
|
) |
| |
|
protected |
Checks if a memory address is mapped within the emulated memory.
- Parameters
-
| [in] | arion | Shared pointer to the Arion instance. |
| [in] | addr | The memory address to check. |
- Returns
true if the memory is mapped, false otherwise.
◆ arion_read_mem()
Reads a chunk of memory from the emulated system.
- Parameters
-
| [in] | arion | Shared pointer to the Arion instance. |
| [in] | addr | The starting address to read from. |
| [in] | sz | The number of bytes to read. |
- Returns
- A vector of bytes containing the read memory data.
The documentation for this class was generated from the following file: