mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
android: Fix runtime for mutator
This commit is contained in:
@ -141,7 +141,10 @@ 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;
|
||||
if (memchr(fn, '/', strlen(fn)))
|
||||
mutator->name_short = strrchr(fn, '/') + 1;
|
||||
else
|
||||
mutator->name_short = strdup(fn);
|
||||
ACTF("Loading custom mutator library from '%s'...", fn);
|
||||
|
||||
dh = dlopen(fn, RTLD_NOW);
|
||||
|
Reference in New Issue
Block a user