mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-09-11 18:29:22 -07:00
since coverity scan was sold 2023, the free tarball binaries dropped a lot of support for parameters. Hence we have to make it as simple as fits these new coverity binaries functionality wise.
This commit is contained in:
+11
-13
@@ -12,33 +12,31 @@ cov-build --dir "$COVDIR" --initialize
|
|||||||
#########################################
|
#########################################
|
||||||
# Build Host prerequisites #
|
# Build Host prerequisites #
|
||||||
#########################################
|
#########################################
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --no-generate-build-id --force make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD fpga_compress
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD fpga_compress
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# Build ARM, no test coverage #
|
# Build ARM, no test coverage #
|
||||||
#########################################
|
#########################################
|
||||||
cov-build --dir "$COVDIR" --no-generate-build-id --force make recovery
|
cov-build --dir "$COVDIR" make recovery
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# Build client #
|
# Build client #
|
||||||
#########################################
|
#########################################
|
||||||
# make sure to do client after ARM because Coverity retains one build info per file
|
# make sure to do client after ARM because Coverity retains one build info per file
|
||||||
# and we want the client-side of the common/ analysis
|
# and we want the client-side of the common/ analysis
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --no-generate-build-id --force make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mfkey
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD cryptorf
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --no-generate-build-id --force make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD nonce2key
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mfc_card_only
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --no-generate-build-id --force make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mf_nonce_brute
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mfc_card_reader
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --no-generate-build-id --force make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mfd_aes_brute
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mfulc_des_brute
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --no-generate-build-id --force make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD client
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD mfd_aes_brute
|
||||||
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD hitag2crack
|
||||||
|
cov-build --dir "$COVDIR" make CC=$HOSTCC CXX=$HOSTCXX LD=$HOSTLD client
|
||||||
|
|
||||||
#########################################
|
# test-capture step dropped — Test Advisor only, not in the free tarball
|
||||||
# Run tests #
|
|
||||||
#########################################
|
|
||||||
cov-build --dir "$COVDIR" --c-coverage=gcov --no-network-coverage --test-capture tools/pm3_tests.sh --long
|
|
||||||
#cov-manage-emit --dir "$COVDIR" list-coverage-known
|
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# Import Git annotations (~ git blame) #
|
# Import Git annotations (~ git blame) #
|
||||||
#########################################
|
#########################################
|
||||||
cov-import-scm --dir "$COVDIR" --scm git --filename-regex "$PWD" --log ""$COVDIR"/cov-import-scm-log.txt"
|
cov-import-scm --dir "$COVDIR" --scm git --filename-regex "$PWD" --log "$COVDIR/cov-import-scm-log.txt"
|
||||||
|
|
||||||
post_build_hook
|
post_build_hook
|
||||||
|
|||||||
Reference in New Issue
Block a user