Skip to content

Commit

Permalink
add missing split-switches-pass in AFL++ instrumentation
Browse files Browse the repository at this point in the history
re-order AFL++ passess because order matters
  • Loading branch information
R9295 authored and smoelius committed Nov 20, 2024
1 parent 56f6618 commit da8e20f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cargo-afl/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,12 @@ where
}

rustflags.push_str(&format!(
"-Z llvm-plugins={p}/cmplog-instructions-pass.so \
-Z llvm-plugins={p}/cmplog-routines-pass.so \
"-Z llvm-plugins={p}/afl-llvm-dict2file.so \
-Z llvm-plugins={p}/cmplog-switches-pass.so \
-Z llvm-plugins={p}/split-switches-pass.so \
-Z llvm-plugins={p}/SanitizerCoveragePCGUARD.so \
-Z llvm-plugins={p}/afl-llvm-dict2file.so
"
-Z llvm-plugins={p}/cmplog-instructions-pass.so \
-Z llvm-plugins={p}/cmplog-routines-pass.so"
));

environment_variables.insert("AFL_QUIET", "1".to_string());
Expand Down

0 comments on commit da8e20f

Please sign in to comment.