
* 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
764 B
Makefile
27 lines
764 B
Makefile
FUZZER_NAME := 'fuzzer_no_std'
|
|
PROJECT_DIR := absolute_path(".")
|
|
PROFILE := 'release'
|
|
PROFILE_DIR := if PROFILE == "release" { "release" } else if PROFILE == "dev" { "debug" } else { "debug" }
|
|
CARGO_TARGET_DIR := env("CARGO_TARGET_DIR", "target")
|
|
FUZZER := CARGO_TARGET_DIR / PROFILE_DIR / FUZZER_NAME
|
|
LIBAFL_CC := CARGO_TARGET_DIR / PROFILE_DIR / "libafl_cc"
|
|
|
|
build:
|
|
cargo build --profile={{PROFILE}} -Zbuild-std=core,alloc --target x86_64-unknown-linux-gnu
|
|
|
|
build_aarch:
|
|
cargo +nightly build -Zbuild-std=core,alloc --target aarch64-unknown-none -v --profile {{PROFILE}}
|
|
|
|
[linux]
|
|
test: build
|
|
cargo run -Zbuild-std=core,alloc --target x86_64-unknown-linux-gnu || true
|
|
|
|
[macos]
|
|
[windows]
|
|
test: build
|
|
echo "Unsupported on this platform"
|
|
|
|
|
|
clean:
|
|
cargo clean
|