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

Identifies an OS memory segment. More...

#include <global_defs.hpp>

Public Attributes

std::string info
 A string associated to this memory segment, for identification purpose.
 
ADDR virt_addr
 The address where this segment should stand in memory.
 
ADDR file_addr
 The offset where data for this segment holds in its associated file.
 
size_t align
 The byte alignment value that this segment must respect when being mapped in memory.
 
size_t virt_sz
 The size of this segment when allocated in memory.
 
size_t phy_sz
 The size of this segment in the file that describes it.
 
PROT_FLAGS flags
 Memory protection rights for this segment.
 

Detailed Description

Identifies an OS memory segment.

Member Data Documentation

◆ align

size_t arion::SEGMENT::align

The byte alignment value that this segment must respect when being mapped in memory.

◆ file_addr

ADDR arion::SEGMENT::file_addr

The offset where data for this segment holds in its associated file.

◆ flags

PROT_FLAGS arion::SEGMENT::flags

Memory protection rights for this segment.

◆ info

std::string arion::SEGMENT::info

A string associated to this memory segment, for identification purpose.

◆ phy_sz

size_t arion::SEGMENT::phy_sz

The size of this segment in the file that describes it.

◆ virt_addr

ADDR arion::SEGMENT::virt_addr

The address where this segment should stand in memory.

◆ virt_sz

size_t arion::SEGMENT::virt_sz

The size of this segment when allocated in memory.


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