Skip to content

Commit

Permalink
use the fuzz profile for running
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog-NEAR committed Sep 5, 2023
1 parent 7ff5f4c commit 2617b95
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ libfuzzer honggfuzz:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@cargo run \
--features $@ \
reduce \
fuzz_bytes \
--manifest-path examples/basic/Cargo.toml \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@cargo run \
--features $@ \
Expand All @@ -68,15 +66,13 @@ libfuzzer honggfuzz:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@cargo run \
--features $@ \
reduce \
fuzz_generator \
--manifest-path examples/basic/Cargo.toml \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@cargo run \
--features $@ \
Expand All @@ -85,15 +81,13 @@ libfuzzer honggfuzz:
--manifest-path examples/basic/Cargo.toml \
--runs 1000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@cargo run \
--features $@ \
reduce \
fuzz_operations \
--manifest-path examples/basic/Cargo.toml \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@SHOULD_PANIC=1 cargo run \
--features $@ \
Expand All @@ -102,7 +96,6 @@ libfuzzer honggfuzz:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
|| true # TODO make this consistent
@SHOULD_PANIC=1 cargo run \
Expand All @@ -111,7 +104,6 @@ libfuzzer honggfuzz:
tests::add_test \
--manifest-path examples/basic/Cargo.toml \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
|| true # TODO make this consistent
@SHOULD_PANIC=1 cargo run \
Expand All @@ -121,7 +113,6 @@ libfuzzer honggfuzz:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
|| true # TODO make this consistent
@SHOULD_PANIC=1 cargo run \
Expand All @@ -130,7 +121,6 @@ libfuzzer honggfuzz:
tests::other_test \
--manifest-path examples/basic/Cargo.toml \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
|| true # TODO make this consistent
@SHOULD_PANIC=1 cargo run \
Expand All @@ -140,7 +130,6 @@ libfuzzer honggfuzz:
--manifest-path examples/basic/Cargo.toml \
--runs 1000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
|| true # TODO make this consistent

Expand All @@ -152,7 +141,6 @@ afl:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@cargo run \
--features $@ \
Expand All @@ -161,7 +149,6 @@ afl:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER)
@rm -rf examples/basic/src/__fuzz__
@SHOULD_PANIC=1 cargo run \
Expand All @@ -171,7 +158,6 @@ afl:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
&& exit 1 || true
@rm -rf examples/basic/src/__fuzz__
Expand All @@ -182,7 +168,6 @@ afl:
--manifest-path examples/basic/Cargo.toml \
--runs 100000 \
--engine $@ \
--profile release \
--sanitizer $(SANITIZER) \
&& exit 1 || true

Expand Down

0 comments on commit 2617b95

Please sign in to comment.