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

This structure is placed in the Unicorn user_data parameter of hooks. More...

#include <hooks_manager.hpp>

Public Member Functions

 ARION_HOOK_PARAM (std::weak_ptr< Arion > arion, HOOK_CALLBACK callback, void *user_data)
 

Public Attributes

std::weak_ptr< Arionarion
 Arion instance that triggered the hook.
 
HOOK_CALLBACK callback
 A user-defined callback for the hook.
 
void * user_data
 Optional user-defined data passed to the hook.
 

Detailed Description

This structure is placed in the Unicorn user_data parameter of hooks.

Constructor & Destructor Documentation

◆ ARION_HOOK_PARAM()

arion::ARION_HOOK_PARAM::ARION_HOOK_PARAM ( std::weak_ptr< Arion arion,
HOOK_CALLBACK  callback,
void *  user_data 
)
inline

Builder for ARION_HOOK_PARAM instances.

Parameters
[in]arionArion instance that triggered the hook.
[in]callbackA user-defined callback for the hook.
[in]user_dataOptional user-defined data passed to the hook.

Member Data Documentation

◆ arion

std::weak_ptr<Arion> arion::ARION_HOOK_PARAM::arion

Arion instance that triggered the hook.

◆ callback

HOOK_CALLBACK arion::ARION_HOOK_PARAM::callback

A user-defined callback for the hook.

◆ user_data

void* arion::ARION_HOOK_PARAM::user_data

Optional user-defined data passed to the hook.


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