Skip to content

Commit

Permalink
UPD: updates of the coverity scan scripts, to make the release 2017.0…
Browse files Browse the repository at this point in the history
…7 of coverity build tools

UPD: install.sh now downloads the repo and make a clean build
  • Loading branch information
iceman1001 committed Jul 11, 2017
1 parent 8bc1741 commit 011a793
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
2 changes: 1 addition & 1 deletion covbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 9 additions & 10 deletions covconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-?


## Configure ARM , make sure you have the arm gcc in your $PATH variable.
cov-configure -co arm-none-eabi-gcc -- -mthumb-interwork



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.
#/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."
21 changes: 18 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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, ...

Expand All @@ -14,10 +19,20 @@ sudo apt-get autoclean -y
sudo apt-get clean -y
sudo apt-get update

# Copy blacklist rules into /etc/udev/rules.d
# check the Makefile for details
sudo make udev
# 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."

0 comments on commit 011a793

Please sign in to comment.