This structure is placed in the UnicornAFL user_data parameter. More...
#include <arion_afl.hpp>
Public Member Functions | |
| ARION_AFL_PARAM (std::weak_ptr< Arion > arion, std::shared_ptr< ARION_CONTEXT > ctxt, ARION_MEM_STRATEGY mem_strategy, ARION_AFL_INPUT_CALLBACK input_callback, ARION_AFL_CRASH_CALLBACK crash_callback, void *user_data) | |
Public Attributes | |
| std::weak_ptr< Arion > | arion |
| The Arion instance being fuzzed. | |
| std::shared_ptr< ARION_CONTEXT > | ctxt |
| The original context of the Arion instance, before fuzzing started. | |
| ARION_MEM_STRATEGY | mem_strategy |
| The memory restoring strategy. | |
| ARION_AFL_INPUT_CALLBACK | input_callback |
| ARION_AFL_CRASH_CALLBACK | crash_callback |
| This callback gets triggered at each target crash detected by AFL. | |
| void * | user_data |
| Optional user-defined data passed to the hook. | |
This structure is placed in the UnicornAFL user_data parameter.
|
inline |
Builder for ARION_AFL_PARAM instances.
| [in] | arion | The Arion instance being fuzzed. |
| [in] | ctxt | The original context of the Arion instance, before fuzzing started. |
| [in] | mem_strategy | The memory restoring strategy. |
| [in] | input_callback | This callback gets triggered at each input generation by AFL, allowing the user to inject the input in the Arion instance. |
| [in] | crash_callback | This callback gets triggered at each target crash detected by AFL. |
| [in] | user_data | Optional user-defined data passed to the hook. |
| ARION_AFL_CRASH_CALLBACK arion::ARION_AFL_PARAM::crash_callback |
This callback gets triggered at each target crash detected by AFL.
| std::shared_ptr<ARION_CONTEXT> arion::ARION_AFL_PARAM::ctxt |
The original context of the Arion instance, before fuzzing started.
| ARION_AFL_INPUT_CALLBACK arion::ARION_AFL_PARAM::input_callback |
This callback gets triggered at each input generation by AFL, allowing the user to inject the input in the Arion instance.
| ARION_MEM_STRATEGY arion::ARION_AFL_PARAM::mem_strategy |
The memory restoring strategy.
| void* arion::ARION_AFL_PARAM::user_data |
Optional user-defined data passed to the hook.