mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
tests: Add a script to set up fuzzing tools
This downloads a clang build that has support for instrumentation, and also downloads and compiles libFuzzer.a.
This commit is contained in:
parent
00ef791078
commit
8b15ae8015
11
tests/fuzz_setup.sh
Normal file
11
tests/fuzz_setup.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
git clone https://chromium.googlesource.com/chromium/src/tools/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
|
Loading…
x
Reference in New Issue
Block a user