book
book copied to clipboard
Tutorial does not work on Fedora 25 - SELinux ?
Hello !
I tried to follow the tutorial on Fedora 25, default installation.
I believe docker needs additional mount flag to behave properly on SELinux systems -Z
Not sure what does this flag do if the systems is not SELinux-enabled tbh, can find out.
I can try writing a PR for the docs to mention that case, please let me know if that would be ok.
thanks a lot and have a great day !
docker run -v $(pwd):/source -it corey/afl.rs sh
# cargo build
error: could not find `Cargo.toml` in `/source` or any parent directory
# pwd
/source
# ls -hal
ls: cannot open directory '.': Permission denied
docker run -v $(pwd):/source:Z -it corey/afl.rs sh
# ls -hal
[works]
cargo-fuzz is the preferred way to fuzz with Rust now (instead of afl.rs)
i've been slowly updating this book to add a section for cargo-fuzz: https://rust-fuzz.github.io/book/
let me know if that ends up working for you or if you run into any issues
Heyo, thank you for that ! Will try and let you know :)