1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
trezor-firmware/.clusterfuzzlite/build.sh
AdamKorcz fe75647b43 Run fuzzer in CI
Signed-off-by: AdamKorcz <Adam@adalogics.com>
2023-07-12 10:13:17 +02:00

6 lines
215 B
Bash
Executable File

# reset sanitizer and optimization flags to avoid interfering with $CFLAGS
export SANFLAGS=""
export OPTFLAGS="-O3 -march=native -gline-tables-only"
FUZZER=1 VALGRIND=0 make -j$(nproc) fuzzer
mv fuzzer/fuzzer $OUT/