diff options
author | hexcoder- <heiko@hexco.de> | 2021-10-12 23:02:15 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-10-12 23:02:15 +0200 |
commit | 544a65db5470359c18436eca123282d74fa47f2e (patch) | |
tree | 846d8e31f9405be36c3018c6d57d06c64af8c44a /src | |
parent | 8e662898095ed6ba283a87119e383948b83b8d75 (diff) | |
download | afl++-544a65db5470359c18436eca123282d74fa47f2e.tar.gz |
converted afl-llvm-pass to new pass manager
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-cc.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index f8621d72..bbe548d9 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -500,12 +500,10 @@ static void edit_params(u32 argc, char **argv, char **envp) { } else { -// cc_params[cc_par_cnt++] = "-Xclang"; -// cc_params[cc_par_cnt++] = "-load"; -// cc_params[cc_par_cnt++] = "-Xclang"; cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager"; cc_params[cc_par_cnt++] = alloc_printf("-fpass-plugin=%s/split-compares-pass.so", obj_path); +// cc_params[cc_par_cnt++] = "-fno-experimental-new-pass-manager"; } @@ -629,10 +627,8 @@ static void edit_params(u32 argc, char **argv, char **envp) { } else { - cc_params[cc_par_cnt++] = "-Xclang"; - cc_params[cc_par_cnt++] = "-load"; - cc_params[cc_par_cnt++] = "-Xclang"; - cc_params[cc_par_cnt++] = alloc_printf("%s/afl-llvm-pass.so", obj_path); + cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager"; + cc_params[cc_par_cnt++] = alloc_printf("-fpass-plugin=%s/afl-llvm-pass.so", obj_path); } |