UPD: updates of the coverity scan scripts, to make the release 2017.07 of coverity build tools

UPD: install.sh now downloads the repo and make a clean build
This commit is contained in:
iceman1001 2017-07-11 13:33:42 +02:00
parent 8bc17414fd
commit 011a793eae
3 changed files with 27 additions and 13 deletions

View file

@ -7,7 +7,7 @@
make clean
## coverity build
cov-build --dir cov-int make all
/home/user/cov-analysis-linux-2017.07/bin/cov-build --dir cov-int make all
## delete all previous tarballs
rm proxmark3.all.*.tgz

View file

@ -2,13 +2,12 @@
## 20160116, iceman
## remove old
rm /home/user/cov-analysis-linux-7.7.0.4/config/coverity_config.xml
rm -rf /home/user/cov-analysis-linux-7.7.0.4/config/gcc-config-?
rm -rf /home/user/cov-analysis-linux-7.7.0.4/config/g++-config-?
rm /home/user/cov-analysis-linux-2017.07/config/coverity_config.xml
rm -rf /home/user/cov-analysis-linux-2017.07/config/gcc-config-?
rm -rf /home/user/cov-analysis-linux-2017.07/config/g++-config-?
## Configure ARM , make sure you have the arm gcc in your $PATH variable.
cov-configure -co arm-none-eabi-gcc -- -mthumb-interwork
#/home/user/cov-analysis-linux-2017.07/bin/cov-configure -co arm-none-eabi-gcc -- -mthumb-interwork
/home/user/cov-analysis-linux-2017.07/bin/cov-configure -co arm-none-eabi-gcc -- -std=c99 -mthumb -mthumb-interwork
echo "Done."

View file

@ -1,3 +1,8 @@
#!/bin/bash
set -x
# This for linux ppl
#for linux ppl
# this should work fine on Ubuntu distros. Don't know about Kali, ...
@ -14,10 +19,20 @@ sudo apt-get autoclean -y
sudo apt-get clean -y
sudo apt-get update
# install proxmark3
git clone https://github.com/Proxmark/proxmark3.git
(
cd proxmark3 || exit 1
git reset --hard
git clean -dfx
make clean
make all
# Copy blacklist rules into /etc/udev/rules.d
# check the Makefile for details
sudo make udev
)
# Where is my device?
#dmesg | tail -10
echo "Done."