Add support for specific custom mutator name

This commit is contained in:
murx-
2020-08-08 18:34:54 +02:00
parent 28251a495a
commit 9a1d526ed4
3 changed files with 4 additions and 0 deletions

View File

@ -142,6 +142,7 @@ struct custom_mutator *load_custom_mutator(afl_state_t *afl, const char *fn) {
struct custom_mutator *mutator = ck_alloc(sizeof(struct custom_mutator));
mutator->name = fn;
mutator->name_short = strrchr(fn, '/') + 1;
ACTF("Loading custom mutator library from '%s'...", fn);
dh = dlopen(fn, RTLD_NOW);