Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion::ARION_MAPPING Struct Reference

This structure holds data associated with a memory mapping. More...

#include <memory_manager.hpp>

Public Member Functions

 ARION_MAPPING ()
 
 ARION_MAPPING (ADDR start_addr, ADDR end_addr, PROT_FLAGS perms, std::string info="")
 
 ARION_MAPPING (ARION_MAPPING *arion_m)
 
 ~ARION_MAPPING ()
 

Public Attributes

ADDR start_addr
 Start memory address of the mapping.
 
ADDR end_addr
 End memory address of the mapping.
 
PROT_FLAGS perms
 Memory access rights of the mapping.
 
std::string info
 A string describing the mapping.
 
BYTEsaved_data = nullptr
 This buffer is used to store the mapping data for serialization operations.
 

Detailed Description

This structure holds data associated with a memory mapping.

Constructor & Destructor Documentation

◆ ARION_MAPPING() [1/3]

arion::ARION_MAPPING::ARION_MAPPING ( )
inline

Builder for ARION_MAPPING instances.

◆ ARION_MAPPING() [2/3]

arion::ARION_MAPPING::ARION_MAPPING ( ADDR  start_addr,
ADDR  end_addr,
PROT_FLAGS  perms,
std::string  info = "" 
)
inline

Builder for ARION_MAPPING instances.

Parameters
[in]start_addrStart memory address of the mapping.
[in]end_addrEnd memory address of the mapping.
[in]permsMemory access rights of the mapping.
[in]infoA string describing the mapping.

◆ ARION_MAPPING() [3/3]

arion::ARION_MAPPING::ARION_MAPPING ( ARION_MAPPING arion_m)
inline

Builder used to clone ARION_MAPPING instances.

Parameters
[in]arion_mThe ARION_MAPPING instance to be cloned.

◆ ~ARION_MAPPING()

arion::ARION_MAPPING::~ARION_MAPPING ( )
inline

Destructor for ARION_MAPPING instances.

Member Data Documentation

◆ end_addr

ADDR arion::ARION_MAPPING::end_addr

End memory address of the mapping.

◆ info

std::string arion::ARION_MAPPING::info

A string describing the mapping.

◆ perms

PROT_FLAGS arion::ARION_MAPPING::perms

Memory access rights of the mapping.

◆ saved_data

BYTE* arion::ARION_MAPPING::saved_data = nullptr

This buffer is used to store the mapping data for serialization operations.

◆ start_addr

ADDR arion::ARION_MAPPING::start_addr

Start memory address of the mapping.


The documentation for this struct was generated from the following file: