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

#include <lnx_kernel_utils.hpp>

Inheritance diagram for arion_lnx_type::StructSockaddrType:
arion_poly_struct::ArionVariableStructType arion_type::KernelType

Public Member Functions

 StructSockaddrType ()
 
- Public Member Functions inherited from arion_poly_struct::ArionVariableStructType
std::string str (std::shared_ptr< arion::Arion > arion, uint64_t val) override
 
- Public Member Functions inherited from arion_type::KernelType
virtual ~KernelType ()=default
 Virtual destructor to allow polymorphic deletion.
 
arion::LOG_COLOR get_color ()
 

Private Member Functions

std::shared_ptr< arion_poly_struct::AbsArionStructTypeprocess (std::shared_ptr< arion::Arion > arion, uint64_t val) override
 

Additional Inherited Members

- Protected Member Functions inherited from arion_poly_struct::ArionVariableStructType
 ArionVariableStructType (std::string name)
 
- Protected Member Functions inherited from arion_type::KernelType
 KernelType (std::string name, arion::LOG_COLOR color=arion::LOG_COLOR::DEFAULT)
 

Detailed Description

Variable structure type for the generic socket address struct sockaddr. It dynamically determines the underlying type.

Constructor & Destructor Documentation

◆ StructSockaddrType()

arion_lnx_type::StructSockaddrType::StructSockaddrType ( )
inline

Builder for StructSockaddrType instances.

Member Function Documentation

◆ process()

std::shared_ptr< arion_poly_struct::AbsArionStructType > arion_lnx_type::StructSockaddrType::process ( std::shared_ptr< arion::Arion arion,
uint64_t  val 
)
overrideprivatevirtual

Dynamically determines the specific socket address type (e.g., IPv4, IPv6, Unix) based on the sa_family field in memory.

Parameters
[in]arionShared pointer to the Arion instance.
[in]valThe memory address pointing to the generic struct sockaddr value.
Returns
A shared pointer to the concrete ArionStructType derived class.

Implements arion_poly_struct::ArionVariableStructType.


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