aboutsummaryrefslogtreecommitdiff
path: root/infra/base-images/base-clang
diff options
context:
space:
mode:
authorMax Moroz <dor3s1@gmail.com>2019-04-09 07:25:14 -0700
committerGitHub <noreply@github.com>2019-04-09 07:25:14 -0700
commit946d0603bafb32b9d7010f62fb1357383fb6419a (patch)
tree158cf5fc905ed06a3de2d1cbf68e8acfb8ca6997 /infra/base-images/base-clang
parent5c5a10a16dce31ebfdb68d62311119aa09ef33e2 (diff)
downloadoss-fuzz-946d0603bafb32b9d7010f62fb1357383fb6419a.tar.gz
[infra] Enabling DataFlow build configuration (#1632). (#2292)
* [infra] Enabling DataFlow build configuration (#1632). * Copy all data flow scripts from the libFuzzer repo.
Diffstat (limited to 'infra/base-images/base-clang')
-rwxr-xr-xinfra/base-images/base-clang/checkout_build_install_llvm.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/infra/base-images/base-clang/checkout_build_install_llvm.sh b/infra/base-images/base-clang/checkout_build_install_llvm.sh
index f2ad1375c..4c45cf283 100755
--- a/infra/base-images/base-clang/checkout_build_install_llvm.sh
+++ b/infra/base-images/base-clang/checkout_build_install_llvm.sh
@@ -109,6 +109,9 @@ rm -rf $WORK/msan
# Pull trunk libfuzzer.
cd $SRC && svn co https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer libfuzzer
+# Copy DataFlow scripts for collecting and merging the traces.
+cp libfuzzer/scripts/*_data_flow.py /usr/local/bin/
+
# Cleanup
rm -rf $SRC/llvm
rm -rf $SRC/chromium_tools