We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[allow(dead_code)]
1 parent b1fd2a5 commit 83a299aCopy full SHA for 83a299a
cargo-afl/src/common.rs
@@ -50,27 +50,22 @@ fn pkg_version() -> String {
50
ret
51
}
52
53
-#[allow(dead_code)]
54
pub fn afl_dir() -> Result<PathBuf> {
55
data_dir("afl")
56
57
58
59
pub fn afl_llvm_dir() -> Result<PathBuf> {
60
data_dir("afl-llvm")
61
62
63
64
pub fn object_file_path() -> Result<PathBuf> {
65
afl_llvm_dir().map(|path| path.join("libafl-llvm-rt.o"))
66
67
68
69
pub fn archive_file_path() -> Result<PathBuf> {
70
afl_llvm_dir().map(|path| path.join("libafl-llvm-rt.a"))
71
72
73
74
pub fn plugins_available() -> Result<bool> {
75
let afl_llvm_dir = afl_llvm_dir()?;
76
for result in afl_llvm_dir
0 commit comments