mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-23 06:25:28 -07:00
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:
parent
8bc17414fd
commit
011a793eae
3 changed files with 27 additions and 13 deletions
|
@ -7,7 +7,7 @@
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
## coverity build
|
## 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
|
## delete all previous tarballs
|
||||||
rm proxmark3.all.*.tgz
|
rm proxmark3.all.*.tgz
|
||||||
|
|
15
covconfig.sh
15
covconfig.sh
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
## 20160116, iceman
|
## 20160116, iceman
|
||||||
## remove old
|
## remove old
|
||||||
rm /home/user/cov-analysis-linux-7.7.0.4/config/coverity_config.xml
|
rm /home/user/cov-analysis-linux-2017.07/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-2017.07/config/gcc-config-?
|
||||||
rm -rf /home/user/cov-analysis-linux-7.7.0.4/config/g++-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
|
|
||||||
|
|
||||||
|
|
||||||
|
## 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
install.sh
21
install.sh
|
@ -1,3 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# This for linux ppl
|
||||||
#for linux ppl
|
#for linux ppl
|
||||||
# this should work fine on Ubuntu distros. Don't know about Kali, ...
|
# 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 clean -y
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
||||||
# Copy blacklist rules into /etc/udev/rules.d
|
# install proxmark3
|
||||||
# check the Makefile for details
|
git clone https://github.com/Proxmark/proxmark3.git
|
||||||
sudo make udev
|
(
|
||||||
|
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?
|
# Where is my device?
|
||||||
#dmesg | tail -10
|
#dmesg | tail -10
|
||||||
|
|
||||||
|
echo "Done."
|
Loading…
Add table
Add a link
Reference in a new issue