Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions cargo-afl/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,17 @@ where
let status = cmd.status().unwrap();

if tool == "afl-fuzz" && !status.success() {
eprintln!(
"
if env::var("CONDA_PREFIX").is_ok() && env::var("LD_LIBRARY_PATH").is_err() {
eprintln!("You appear to be running under Conda. You may need to set LD_LIBRARY_PATH.");
} else {
eprintln!("
If you see an error message like `shmget() failed` above, try running the following command:

cargo afl system-config

Note: You might be prompted to enter your password as root privileges are required and hence sudo is run within this command."
);
);
}
}
process::exit(status.code().unwrap_or(1));
}
Expand Down
Loading