
* move to just * fuzzbench * shell check * version * rme * fixer * fixing * libpng friends * pwd * ps * ps * no fail fast.. for now * windows * l * no powershell * a * fk * fixer * a * Revert "fixer" This reverts commit 76ae72d68686ead01ef914b658c5d8dac5aaee32. * plzplz * aaaa * aa * aa * use absolute path, use LIBAFL_CC and LIBAFL_CXX * why tabs???? * this job is not fun * aa * tmate debug * disable cacheing * del * deldelg * rename * aaaa * lol * aaa * lol * lol * 2nd tmate ... * a * lol * lll * shell ck * please i'm about to cry --------- Co-authored-by: Your Name <you@example.com> Co-authored-by: Romain Malmain <romain.malmain@pm.me>
27 lines
642 B
Makefile
27 lines
642 B
Makefile
install_llvm_tools:
|
|
rustup toolchain install nightly --component llvm-tools-preview
|
|
|
|
install_cargo_fuzz:
|
|
cargo install cargo-fuzz
|
|
|
|
build: install_cargo_fuzz install_llvm_tools
|
|
cargo +nightly fuzz build fuzz_target_1
|
|
|
|
[linux]
|
|
test: build
|
|
#!/bin/bash
|
|
timeout 30s cargo +nightly fuzz run fuzz_target_1 2>&1 | tee fuzz_stdout.log || true
|
|
if grep -qa "objectives: 1" fuzz_stdout.log; then
|
|
echo "Fuzzer is working"
|
|
else
|
|
echo "Fuzzer does not generate any testcases or any crashes"
|
|
exit 1
|
|
fi
|
|
|
|
[macos]
|
|
[windows]
|
|
test: build
|
|
echo "Unsupported on this platform"
|
|
|
|
clean:
|
|
rm -rf fuzz/target
|