fuzz: disable features in honggfuzz
This commit is contained in:
parent
c7910f4561
commit
0a32525862
|
@ -30,7 +30,7 @@ jobs:
|
||||||
toolchain: 1.58
|
toolchain: 1.58
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
- run: cargo install honggfuzz
|
- run: cargo install honggfuzz --no-default-features
|
||||||
if: steps.cache-fuzz.outputs.cache-hit != 'true'
|
if: steps.cache-fuzz.outputs.cache-hit != 'true'
|
||||||
- run: echo "HFUZZ_RUN_ARGS=\"--run_time 30 --exit_upon_crash -v -f hfuzz_input/${{ matrix.fuzz_target }}/input\"" >> $GITHUB_ENV
|
- run: echo "HFUZZ_RUN_ARGS=\"--run_time 30 --exit_upon_crash -v -f hfuzz_input/${{ matrix.fuzz_target }}/input\"" >> $GITHUB_ENV
|
||||||
- name: fuzz
|
- name: fuzz
|
||||||
|
|
|
@ -12,7 +12,7 @@ afl_fuzz = ["afl"]
|
||||||
honggfuzz_fuzz = ["honggfuzz"]
|
honggfuzz_fuzz = ["honggfuzz"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
honggfuzz = { version = "0.5", optional = true }
|
honggfuzz = { version = "0.5", optional = true, default-features = false }
|
||||||
afl = { version = "0.4", optional = true }
|
afl = { version = "0.4", optional = true }
|
||||||
bitcoin = { path = ".." }
|
bitcoin = { path = ".." }
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ if [ ${incorrectFilenames} -gt 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
cargo install --force honggfuzz
|
cargo install --force honggfuzz --no-default-features
|
||||||
for TARGET in fuzz_targets/*; do
|
for TARGET in fuzz_targets/*; do
|
||||||
FILENAME=$(basename $TARGET)
|
FILENAME=$(basename $TARGET)
|
||||||
FILE="${FILENAME%.*}"
|
FILE="${FILENAME%.*}"
|
||||||
|
|
Loading…
Reference in New Issue