Structure defining a system call function and its parameter signature for logging/analysis.
More...
#include <lnx_syscall_manager.hpp>
Structure defining a system call function and its parameter signature for logging/analysis.
◆ 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] | func | The system call emulation function handler. |
| [in] | signature | The type signature of the syscall (including the return type as the first element). |
◆ 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
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: