forked from cfanatic/vsomeip-fuzzing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
26 lines (20 loc) · 720 Bytes
/
install.sh
File metadata and controls
26 lines (20 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
fallocate -l 1G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
rm /var/lib/apt/lists/lock
rm /var/cache/apt/archives/lock
rm /var/lib/dpkg/lock*
dpkg --configure -a
apt update
apt install -y aptitude git libboost-system1.65-dev libboost-thread1.65-dev libboost-log1.65-dev cmake protobuf-compiler
apt install -y gcc-5 g++-5 g++ asciidoc source-highlight doxygen graphviz net-tools iputils-ping
aptitude search boost
apt install -y afl-clang
git clone https://github.com/GENIVI/vsomeip.git
cd /root/vsomeip
mkdir build
cd build/
CC=afl-clang-fast CXX=afl-clang-fast++ cmake -DENABLE_SIGNAL_HANDLING=1 -DENABLE_MULTIPLE_ROUTING_MANAGERS=1 ..
CC=afl-clang-fast CXX=afl-clang-fast++ make