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

Structure defining a system call function and its parameter signature for logging/analysis. More...

#include <lnx_syscall_manager.hpp>

Public Member Functions

 SYSCALL_FUNC (std::function< uint64_t(std::shared_ptr< Arion > arion, std::vector< SYS_PARAM > params, bool &cancel)> func, std::vector< std::shared_ptr< arion_type::KernelType > > signature)
 

Public Attributes

std::function< uint64_t(std::shared_ptr< Arion > arion, std::vector< SYS_PARAM > params, bool &cancel)> func
 The function pointer to the syscall emulation handler.
 
std::vector< std::shared_ptr< arion_type::KernelType > > signature
 

Detailed Description

Structure defining a system call function and its parameter signature for logging/analysis.

Constructor & Destructor Documentation

◆ SYSCALL_FUNC()

arion::SYSCALL_FUNC::SYSCALL_FUNC ( std::function< uint64_t(std::shared_ptr< Arion > arion, std::vector< SYS_PARAM > params, bool &cancel)>  func,
std::vector< std::shared_ptr< arion_type::KernelType > >  signature 
)
inline

Builder for SYSCALL_FUNC instances.

Parameters
[in]funcThe system call emulation function handler.
[in]signatureThe type signature of the syscall (including the return type as the first element).

Member Data Documentation

◆ func

std::function<uint64_t(std::shared_ptr<Arion> arion, std::vector<SYS_PARAM> params, bool &cancel)> arion::SYSCALL_FUNC::func

The function pointer to the syscall emulation handler.

◆ signature

std::vector<std::shared_ptr<arion_type::KernelType> > arion::SYSCALL_FUNC::signature

A vector defining the expected data type for each syscall parameter and return value, used for logging/formatting.


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