summaryrefslogtreecommitdiff
path: root/tests/fuzz_setup.sh
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-11 13:51:39 -0800
committerGitHub <noreply@github.com>2017-02-11 13:51:39 -0800
commit03e4b8de929328eb5cbb031ff535c50396d43bb9 (patch)
tree0552947207245d263abffb91e1c6b1d92b86e653 /tests/fuzz_setup.sh
parent02c599f52b8817916405b4263da3616a55f77632 (diff)
parentec984370fb525d0cbc20b009f69c9c5eaec022a7 (diff)
Merge pull request #132 from zeux/fuzz
Improve fuzzing support
Diffstat (limited to 'tests/fuzz_setup.sh')
-rwxr-xr-xtests/fuzz_setup.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/fuzz_setup.sh b/tests/fuzz_setup.sh
new file mode 100755
index 0000000..05a40cb
--- /dev/null
+++ b/tests/fuzz_setup.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+sudo apt-get --yes install subversion screen gcc g++ cmake ninja-build golang autoconf libtool apache2 python-dev pkg-config zlib1g-dev libgcrypt11-dev
+
+cd clang
+git clone https://chromium.googlesource.com/chromium/src/tools/clang
+cd ..
+clang/clang/scripts/update.py
+sudo cp -rf third_party/llvm-build/Release+Asserts/lib/* /usr/local/lib/
+sudo cp -rf third_party/llvm-build/Release+Asserts/bin/* /usr/local/bin
+
+svn co http://llvm.org/svn/llvm-project/llvm/trunk/lib/Fuzzer
+Fuzzer/build.sh