The following install steps worked on 6/29/2019 with LAVA commit c55bf1826ef9855a621f2652b30f16ac75b19cb6.
- Download and install Ubuntu 64-bit 16.04.6 (SHA1 A09607901183AB25C675626024AA402663FA2558, MD5: 5416371CC0E990871746DDAAC89F1A5E).
sudo add-apt-repository ppa:phulin/panda
sudo cp /etc/apt/sources.list /etc/apt/sources.list~
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install python-pip git protobuf-compiler protobuf-c-compiler libprotobuf-c0-dev libprotoc-dev python-protobuf libelf-dev libcapstone-dev libdwarf-dev python-pycparser llvm-3.3 clang-3.3 libc++-dev libwiretap-dev libwireshark-dev odb
sudo apt-get build-dep qemu
pip install colorama
cd ~/Desktop
git clone https://github.com/panda-re/lava.git
cd ~/Desktop/lava
python2 setup.py
- build Docker container with
docker/Dockerfile
- use
scripts/docker-shell.sh
to enter docker container - inside Docker container, run
python setup_container.py
to build lavaTools - exit Docker container, and run
python setup_postgres.py
andinit-host.py