#include <baremetal_manager.hpp>
This class is responsible for configuring a session of baremetal emulation. After being configured, a BaremetalManager instance can be passed to a specific Arion initialization method.
◆ BaremetalManager() [1/3]
| arion::BaremetalManager::BaremetalManager |
( |
CPU_ARCH |
arch, |
|
|
std::vector< BYTE > |
code, |
|
|
ADDR |
load_addr, |
|
|
ADDR |
entry_addr |
|
) |
| |
|
inline |
Builder method for BaremetalManager instances.
- Parameters
-
| [in] | arch | Arion CPU architecture for emulation. |
| [in] | code | The code to be emulated. |
| [in] | load_addr | The memory address at which to map the code. |
| [in] | entry_addr | The memory address at which to start emulation. |
◆ BaremetalManager() [2/3]
| arion::BaremetalManager::BaremetalManager |
( |
CPU_ARCH |
arch, |
|
|
std::vector< BYTE > |
code, |
|
|
ADDR |
load_addr |
|
) |
| |
|
inline |
Builder method for BaremetalManager instances.
- Parameters
-
| [in] | arch | Arion CPU architecture for emulation. |
| [in] | code | The code to be emulated. |
| [in] | load_addr | The memory address at which to map the code. |
◆ BaremetalManager() [3/3]
| arion::BaremetalManager::BaremetalManager |
( |
CPU_ARCH |
arch, |
|
|
ADDR |
load_addr, |
|
|
ADDR |
entry_addr |
|
) |
| |
|
inline |
Builder method for BaremetalManager instances.
- Parameters
-
| [in] | arch | Arion CPU architecture for emulation. |
| [in] | load_addr | The memory address at which to map the code. |
| [in] | entry_addr | The memory address at which to start emulation. |
◆ get_arch()
| CPU_ARCH arion::BaremetalManager::get_arch |
( |
| ) |
|
Retrieves the Arion CPU architecture associated with this instance.
- Returns
- The Arion CPU architecture.
◆ get_code()
| std::vector< uint8_t > arion::BaremetalManager::get_code |
( |
| ) |
|
Retrieves the assembled instructions of code to be emulated in baremetal.
- Returns
- The vector of assembled instructions data.
◆ get_entry_addr()
| ADDR arion::BaremetalManager::get_entry_addr |
( |
| ) |
|
Retrieves the memory address at which the code should start being emulated.
- Returns
- The code entry address.
◆ get_load_addr()
| ADDR arion::BaremetalManager::get_load_addr |
( |
| ) |
|
Retrieves the memory address at which the code is to be loaded.
- Returns
- The code starting memory address.
◆ arch
Arion CPU architecture for emulation.
◆ code
| std::vector<BYTE> arion::BaremetalManager::code |
|
private |
◆ entry_addr
| ADDR arion::BaremetalManager::entry_addr |
|
private |
The memory address at which to start emulation.
◆ load_addr
| ADDR arion::BaremetalManager::load_addr |
|
private |
The memory address at which to map the code.
The documentation for this class was generated from the following file: