diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c index 2e5e89f2..ffb20a87 100644 --- a/llvm_mode/afl-clang-fast.c +++ b/llvm_mode/afl-clang-fast.c @@ -134,8 +134,7 @@ static void edit_params(u32 argc, char** argv) { #endif #else cc_params[cc_par_cnt++] = "-Xclang"; - cc_params[cc_par_cnt++] = "-fpass-plugin=../afl-llvm-pass.so"; - // cc_params[cc_par_cnt++] = alloc_printf("\"%s/afl-llvm-pass.so\"", obj_path); + cc_params[cc_par_cnt++] = alloc_printf("-fpass-plugin=%s/afl-llvm-pass.so", obj_path); #endif /* ^USE_TRACE_PC */ cc_params[cc_par_cnt++] = "-Qunused-arguments";