Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion_lnx_type Namespace Reference

Classes

struct  __kernel_old_timeval
 Kernel structure for time value used in older syscalls (gettimeofday, ELF notes). More...
 
class  AccessModeType
 Type representing the access modes for the access() syscall (R_OK, W_OK, X_OK, F_OK). More...
 
class  CloneArgsStructFactory
 Polymorphic structure factory for the Linux struct clone_args structure. More...
 
class  CloneFlagType
 Type representing the flags for the clone() syscall (CLONE_VM, CLONE_THREAD, etc.). More...
 
struct  elf_prstatus_common
 Common fields shared across architecture-specific elf_prstatus structures in core dumps. More...
 
struct  elf_siginfo
 Kernel structure for signal information used in ELF core dump notes. More...
 
class  ErrCodeType
 Type used for syscall return error codes (negative values). More...
 
class  FileATFlagType
 Type representing the flags used by the *at file syscalls (openat, faccessat, etc.). More...
 
class  FileDescriptorType
 Type used for file descriptor values. More...
 
class  FileModeType
 Type representing Unix file modes (permissions and file type). More...
 
class  FutexOpType
 Type representing the operation codes for the futex() syscall. More...
 
class  In6AddrTType
 Type used for 128-bit IPv6 address values (in6_addr_t). More...
 
class  InAddrTType
 Type used for 32-bit IPv4 address values (in_addr_t). More...
 
struct  iovec32
 Structure for a scatter/gather vector entry in 32-bit systems. More...
 
struct  ksigaction
 Linux kernel structure representing the signal action data for rt_sigaction. More...
 
class  MmapFlagType
 Type representing the flags for the mmap() syscall (MAP_SHARED, MAP_ANONYMOUS, etc.). More...
 
class  OpenModeType
 Type representing the open modes for the open() syscall (O_RDONLY, O_CREAT, etc.). More...
 
class  ProtFlagType
 Type representing the memory protection flags for mmap/mprotect (PROT_READ, PROT_WRITE, PROT_EXEC). More...
 
struct  rlimit32
 Structure for resource limits in 32-bit systems (two 32-bit values). More...
 
class  SeekWhenceType
 Type representing the seek origin flags for lseek (SEEK_SET, SEEK_CUR, SEEK_END). More...
 
class  SignalType
 Type representing Linux signals (SIGHUP, SIGINT, SIGSEGV, etc.). More...
 
class  SockaddrIn6StructFactory
 Polymorphic structure factory for the IPv6 socket address struct sockaddr_in6. More...
 
class  SockaddrInStructFactory
 Polymorphic structure factory for the IPv4 socket address struct sockaddr_in. More...
 
class  SockaddrUnStructFactory
 Polymorphic structure factory for the Unix domain socket address struct sockaddr_un. More...
 
class  SocketDomainType
 Type representing the socket address families (domains) (AF_INET, AF_LOCAL, etc.). More...
 
class  SocketTypeType
 Type representing the socket types (SOCK_STREAM, SOCK_DGRAM, etc.). More...
 
class  StatStructFactory
 Polymorphic structure factory for the Unix struct stat (file status) structure. More...
 
class  StatxAttrsType
 Type representing the file attributes flags returned by the statx() syscall. More...
 
class  StatxMaskType
 Type representing the mask of requested fields for the statx() syscall. More...
 
class  StatxStructFactory
 Polymorphic structure factory for the Linux struct statx (extended file status) structure. More...
 
class  StructCloneArgsType
 Arion structure type wrapper for struct clone_args. More...
 
class  StructSockaddrIn6Type
 Arion structure type wrapper for struct sockaddr_in6. More...
 
class  StructSockaddrInType
 Arion structure type wrapper for struct sockaddr_in. More...
 
class  StructSockaddrType
 
class  StructSockaddrUnType
 Arion structure type wrapper for struct sockaddr_un. More...
 
class  StructStatType
 Arion structure type wrapper for struct stat. More...
 
class  StructStatxType
 Arion structure type wrapper for struct statx. More...
 
class  StructTimespecType
 Arion structure type wrapper for struct timespec. More...
 
class  TimespecStructFactory
 Polymorphic structure factory for the POSIX struct timespec structure. More...
 

Typedefs

typedef unsigned long elf_greg_t
 Type definition for a single general-purpose register value in an ELF core dump.
 
typedef unsigned long elf_freg_t[3]
 Type definition for an FPU register value in an ELF core dump (typically for legacy 32-bit x86).
 

Functions

arion::PROT_FLAGS kernel_prot_to_arion_prot (int kflags)
 

Variables

std::shared_ptr< ErrCodeTypeERR_CODE_TYPE
 Shared pointer to the singleton instance of ErrCodeType.
 
std::shared_ptr< FileDescriptorTypeFILE_DESCRIPTOR_TYPE
 Shared pointer to the singleton instance of FileDescriptorType.
 
std::shared_ptr< InAddrTTypeIN_ADDR_T_TYPE
 Shared pointer to the singleton instance of InAddrTType.
 
std::shared_ptr< In6AddrTTypeIN6_ADDR_T_TYPE
 Shared pointer to the singleton instance of In6AddrTType.
 
std::shared_ptr< AccessModeTypeACCESS_MODE_TYPE
 Shared pointer to the singleton instance of AccessModeType.
 
std::shared_ptr< OpenModeTypeOPEN_MODE_TYPE
 Shared pointer to the singleton instance of OpenModeType.
 
std::shared_ptr< FileATFlagTypeFILE_AT_FLAG_TYPE
 Shared pointer to the singleton instance of FileATFlagType.
 
std::shared_ptr< StatxMaskTypeSTATX_MASK_TYPE
 Shared pointer to the singleton instance of StatxMaskType.
 
std::shared_ptr< StatxAttrsTypeSTATX_ATTRS_TYPE
 Shared pointer to the singleton instance of StatxAttrsType.
 
std::shared_ptr< ProtFlagTypePROT_FLAG_TYPE
 Shared pointer to the singleton instance of ProtFlagType.
 
std::shared_ptr< MmapFlagTypeMMAP_FLAG_TYPE
 Shared pointer to the singleton instance of MmapFlagType.
 
std::shared_ptr< SeekWhenceTypeSEEK_WHENCE_TYPE
 Shared pointer to the singleton instance of SeekWhenceType.
 
std::shared_ptr< FutexOpTypeFUTEX_OP_TYPE
 Shared pointer to the singleton instance of FutexOpType.
 
std::shared_ptr< CloneFlagTypeCLONE_FLAG_TYPE
 Shared pointer to the singleton instance of CloneFlagType.
 
std::shared_ptr< SignalTypeSIGNAL_TYPE
 Shared pointer to the singleton instance of SignalType.
 
std::shared_ptr< FileModeTypeFILE_MODE_TYPE
 Shared pointer to the singleton instance of FileModeType.
 
std::shared_ptr< SocketDomainTypeSOCKET_DOMAIN_TYPE
 Shared pointer to the singleton instance of SocketDomainType.
 
std::shared_ptr< SocketTypeTypeSOCKET_TYPE_TYPE
 Shared pointer to the singleton instance of SocketTypeType.
 
std::shared_ptr< StatStructFactorySTAT_STRUCT_FACTORY
 Shared pointer to the singleton instance of StatStructFactory.
 
std::shared_ptr< StructStatTypeSTRUCT_STAT_TYPE
 Shared pointer to the singleton instance of StructStatType.
 
std::shared_ptr< StatxStructFactorySTATX_STRUCT_FACTORY
 Shared pointer to the singleton instance of StatxStructFactory.
 
std::shared_ptr< StructStatxTypeSTRUCT_STATX_TYPE
 Shared pointer to the singleton instance of StructStatxType.
 
std::shared_ptr< TimespecStructFactoryTIMESPEC_STRUCT_FACTORY
 Shared pointer to the singleton instance of TimespecStructFactory.
 
std::shared_ptr< StructTimespecTypeSTRUCT_TIMESPEC_TYPE
 Shared pointer to the singleton instance of StructTimespecType.
 
std::shared_ptr< CloneArgsStructFactoryCLONE_ARGS_STRUCT_FACTORY
 Shared pointer to the singleton instance of CloneArgsStructFactory.
 
std::shared_ptr< StructCloneArgsTypeSTRUCT_CLONE_ARGS_TYPE
 Shared pointer to the singleton instance of StructCloneArgsType.
 
std::shared_ptr< SockaddrInStructFactorySOCKADDR_IN_STRUCT_FACTORY
 Shared pointer to the singleton instance of SockaddrInStructFactory.
 
std::shared_ptr< StructSockaddrInTypeSTRUCT_SOCKADDR_IN_TYPE
 Shared pointer to the singleton instance of StructSockaddrInType.
 
std::shared_ptr< SockaddrIn6StructFactorySOCKADDR_IN6_STRUCT_FACTORY
 Shared pointer to the singleton instance of SockaddrIn6StructFactory.
 
std::shared_ptr< StructSockaddrIn6TypeSTRUCT_SOCKADDR_IN6_TYPE
 Shared pointer to the singleton instance of StructSockaddrIn6Type.
 
std::shared_ptr< SockaddrUnStructFactorySOCKADDR_UN_STRUCT_FACTORY
 Shared pointer to the singleton instance of SockaddrUnStructFactory.
 
std::shared_ptr< StructSockaddrUnTypeSTRUCT_SOCKADDR_UN_TYPE
 Shared pointer to the singleton instance of StructSockaddrUnType.
 
std::shared_ptr< StructSockaddrTypeSTRUCT_SOCKADDR_TYPE
 Shared pointer to the singleton instance of StructSockaddrType.
 

Typedef Documentation

◆ elf_freg_t

typedef unsigned long arion_lnx_type::elf_freg_t[3]

Type definition for an FPU register value in an ELF core dump (typically for legacy 32-bit x86).

◆ elf_greg_t

typedef unsigned long arion_lnx_type::elf_greg_t

Type definition for a single general-purpose register value in an ELF core dump.

Function Documentation

◆ kernel_prot_to_arion_prot()

arion::PROT_FLAGS arion_lnx_type::kernel_prot_to_arion_prot ( int  kflags)

Converts kernel memory protection flags (e.g., PROT_READ | PROT_EXEC) to Arion's internal PROT_FLAGS enum.

Parameters
[in]kflagsThe integer containing the kernel protection flags.
Returns
The corresponding arion::PROT_FLAGS value.

Variable Documentation

◆ ACCESS_MODE_TYPE

std::shared_ptr<AccessModeType> arion_lnx_type::ACCESS_MODE_TYPE
extern

Shared pointer to the singleton instance of AccessModeType.

◆ CLONE_ARGS_STRUCT_FACTORY

std::shared_ptr<CloneArgsStructFactory> arion_lnx_type::CLONE_ARGS_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of CloneArgsStructFactory.

◆ CLONE_FLAG_TYPE

std::shared_ptr<CloneFlagType> arion_lnx_type::CLONE_FLAG_TYPE
extern

Shared pointer to the singleton instance of CloneFlagType.

◆ ERR_CODE_TYPE

std::shared_ptr<ErrCodeType> arion_lnx_type::ERR_CODE_TYPE
extern

Shared pointer to the singleton instance of ErrCodeType.

◆ FILE_AT_FLAG_TYPE

std::shared_ptr<FileATFlagType> arion_lnx_type::FILE_AT_FLAG_TYPE
extern

Shared pointer to the singleton instance of FileATFlagType.

◆ FILE_DESCRIPTOR_TYPE

std::shared_ptr<FileDescriptorType> arion_lnx_type::FILE_DESCRIPTOR_TYPE
extern

Shared pointer to the singleton instance of FileDescriptorType.

◆ FILE_MODE_TYPE

std::shared_ptr<FileModeType> arion_lnx_type::FILE_MODE_TYPE
extern

Shared pointer to the singleton instance of FileModeType.

◆ FUTEX_OP_TYPE

std::shared_ptr<FutexOpType> arion_lnx_type::FUTEX_OP_TYPE
extern

Shared pointer to the singleton instance of FutexOpType.

◆ IN6_ADDR_T_TYPE

std::shared_ptr<In6AddrTType> arion_lnx_type::IN6_ADDR_T_TYPE
extern

Shared pointer to the singleton instance of In6AddrTType.

◆ IN_ADDR_T_TYPE

std::shared_ptr<InAddrTType> arion_lnx_type::IN_ADDR_T_TYPE
extern

Shared pointer to the singleton instance of InAddrTType.

◆ MMAP_FLAG_TYPE

std::shared_ptr<MmapFlagType> arion_lnx_type::MMAP_FLAG_TYPE
extern

Shared pointer to the singleton instance of MmapFlagType.

◆ OPEN_MODE_TYPE

std::shared_ptr<OpenModeType> arion_lnx_type::OPEN_MODE_TYPE
extern

Shared pointer to the singleton instance of OpenModeType.

◆ PROT_FLAG_TYPE

std::shared_ptr<ProtFlagType> arion_lnx_type::PROT_FLAG_TYPE
extern

Shared pointer to the singleton instance of ProtFlagType.

◆ SEEK_WHENCE_TYPE

std::shared_ptr<SeekWhenceType> arion_lnx_type::SEEK_WHENCE_TYPE
extern

Shared pointer to the singleton instance of SeekWhenceType.

◆ SIGNAL_TYPE

std::shared_ptr<SignalType> arion_lnx_type::SIGNAL_TYPE
extern

Shared pointer to the singleton instance of SignalType.

◆ SOCKADDR_IN6_STRUCT_FACTORY

std::shared_ptr<SockaddrIn6StructFactory> arion_lnx_type::SOCKADDR_IN6_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of SockaddrIn6StructFactory.

◆ SOCKADDR_IN_STRUCT_FACTORY

std::shared_ptr<SockaddrInStructFactory> arion_lnx_type::SOCKADDR_IN_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of SockaddrInStructFactory.

◆ SOCKADDR_UN_STRUCT_FACTORY

std::shared_ptr<SockaddrUnStructFactory> arion_lnx_type::SOCKADDR_UN_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of SockaddrUnStructFactory.

◆ SOCKET_DOMAIN_TYPE

std::shared_ptr<SocketDomainType> arion_lnx_type::SOCKET_DOMAIN_TYPE
extern

Shared pointer to the singleton instance of SocketDomainType.

◆ SOCKET_TYPE_TYPE

std::shared_ptr<SocketTypeType> arion_lnx_type::SOCKET_TYPE_TYPE
extern

Shared pointer to the singleton instance of SocketTypeType.

◆ STAT_STRUCT_FACTORY

std::shared_ptr<StatStructFactory> arion_lnx_type::STAT_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of StatStructFactory.

◆ STATX_ATTRS_TYPE

std::shared_ptr<StatxAttrsType> arion_lnx_type::STATX_ATTRS_TYPE
extern

Shared pointer to the singleton instance of StatxAttrsType.

◆ STATX_MASK_TYPE

std::shared_ptr<StatxMaskType> arion_lnx_type::STATX_MASK_TYPE
extern

Shared pointer to the singleton instance of StatxMaskType.

◆ STATX_STRUCT_FACTORY

std::shared_ptr<StatxStructFactory> arion_lnx_type::STATX_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of StatxStructFactory.

◆ STRUCT_CLONE_ARGS_TYPE

std::shared_ptr<StructCloneArgsType> arion_lnx_type::STRUCT_CLONE_ARGS_TYPE
extern

Shared pointer to the singleton instance of StructCloneArgsType.

◆ STRUCT_SOCKADDR_IN6_TYPE

std::shared_ptr<StructSockaddrIn6Type> arion_lnx_type::STRUCT_SOCKADDR_IN6_TYPE
extern

Shared pointer to the singleton instance of StructSockaddrIn6Type.

◆ STRUCT_SOCKADDR_IN_TYPE

std::shared_ptr<StructSockaddrInType> arion_lnx_type::STRUCT_SOCKADDR_IN_TYPE
extern

Shared pointer to the singleton instance of StructSockaddrInType.

◆ STRUCT_SOCKADDR_TYPE

std::shared_ptr<StructSockaddrType> arion_lnx_type::STRUCT_SOCKADDR_TYPE
extern

Shared pointer to the singleton instance of StructSockaddrType.

◆ STRUCT_SOCKADDR_UN_TYPE

std::shared_ptr<StructSockaddrUnType> arion_lnx_type::STRUCT_SOCKADDR_UN_TYPE
extern

Shared pointer to the singleton instance of StructSockaddrUnType.

◆ STRUCT_STAT_TYPE

std::shared_ptr<StructStatType> arion_lnx_type::STRUCT_STAT_TYPE
extern

Shared pointer to the singleton instance of StructStatType.

◆ STRUCT_STATX_TYPE

std::shared_ptr<StructStatxType> arion_lnx_type::STRUCT_STATX_TYPE
extern

Shared pointer to the singleton instance of StructStatxType.

◆ STRUCT_TIMESPEC_TYPE

std::shared_ptr<StructTimespecType> arion_lnx_type::STRUCT_TIMESPEC_TYPE
extern

Shared pointer to the singleton instance of StructTimespecType.

◆ TIMESPEC_STRUCT_FACTORY

std::shared_ptr<TimespecStructFactory> arion_lnx_type::TIMESPEC_STRUCT_FACTORY
extern

Shared pointer to the singleton instance of TimespecStructFactory.