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

Extended attributes structure for the ELF file parser. More...

#include <elf_parser.hpp>

Inheritance diagram for arion::ELF_PARSER_ATTRIBUTES:
arion::EXECUTABLE_PARSER_ATTRIBUTES

Public Attributes

ELF_FILE_TYPE type = ELF_FILE_TYPE::UNKNOWN_FILE
 The specific type of the ELF file.
 
ADDR prog_headers_off = 0
 Offset of the program headers table.
 
size_t prog_headers_entry_sz = 0
 Size of a single program header entry.
 
size_t prog_headers_n = 0
 Number of program header entries.
 
std::unique_ptr< ELF_COREDUMP_ATTRScoredump = 0
 Attributes specific to CORE dump files, or null otherwise.
 
- Public Attributes inherited from arion::EXECUTABLE_PARSER_ATTRIBUTES
std::string usr_path
 Path to the executable as passed to the Arion instance when initializing it.
 
std::string path
 Path to the executable that may differ from the user specified one in some special cases (like coredumps).
 
std::vector< std::string > args
 The program arguments of the emulated process, basically the "argv" array.
 
CPU_ARCH arch = CPU_ARCH::UNKNOWN_ARCH
 The CPU architecture of the executable.
 
LINKAGE_TYPE linkage = LINKAGE_TYPE::UNKNOWN_LINKAGE
 The method used to link the executable.
 
std::string interpreter_path
 Path to the interpreter of the executable.
 
ADDR entry = 0
 Memory address at which the executable starts being executed.
 

Additional Inherited Members

- Public Member Functions inherited from arion::EXECUTABLE_PARSER_ATTRIBUTES
virtual ~EXECUTABLE_PARSER_ATTRIBUTES ()=default
 

Detailed Description

Extended attributes structure for the ELF file parser.

Member Data Documentation

◆ coredump

std::unique_ptr<ELF_COREDUMP_ATTRS> arion::ELF_PARSER_ATTRIBUTES::coredump = 0

Attributes specific to CORE dump files, or null otherwise.

◆ prog_headers_entry_sz

size_t arion::ELF_PARSER_ATTRIBUTES::prog_headers_entry_sz = 0

Size of a single program header entry.

◆ prog_headers_n

size_t arion::ELF_PARSER_ATTRIBUTES::prog_headers_n = 0

Number of program header entries.

◆ prog_headers_off

ADDR arion::ELF_PARSER_ATTRIBUTES::prog_headers_off = 0

Offset of the program headers table.

◆ type

ELF_FILE_TYPE arion::ELF_PARSER_ATTRIBUTES::type = ELF_FILE_TYPE::UNKNOWN_FILE

The specific type of the ELF file.


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