mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 11:58:08 +00:00
add custom_post_run.c
This commit is contained in:
@ -397,6 +397,18 @@ struct custom_mutator *load_custom_mutator(afl_state_t *afl, const char *fn) {
|
||||
|
||||
}
|
||||
|
||||
/* "afl_custom_post_run", optional */
|
||||
mutator->afl_custom_post_run = dlsym(dh, "afl_custom_post_run");
|
||||
if (!mutator->afl_custom_post_run) {
|
||||
|
||||
ACTF("optional symbol 'afl_custom_post_run' not found.");
|
||||
|
||||
} else {
|
||||
|
||||
OKF("Found 'afl_custom_post_run'.");
|
||||
|
||||
}
|
||||
|
||||
/* "afl_custom_queue_new_entry", optional */
|
||||
mutator->afl_custom_queue_new_entry = dlsym(dh, "afl_custom_queue_new_entry");
|
||||
if (!mutator->afl_custom_queue_new_entry) {
|
||||
|
Reference in New Issue
Block a user