Files
tubestation/tools/fuzzing/libfuzzer/clone_libfuzzer.sh
Alex Gaynor e7dd8c5c49 Bug 1452625 - bumped in-tree libFuzzer to latest version; r=decoder
MozReview-Commit-ID: 4Y5MMrK45ts
2018-04-09 10:00:54 -04:00

12 lines
327 B
Bash
Executable File

#!/bin/sh
mkdir tmp/
git clone --no-checkout --depth 1 https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer tmp/
(cd tmp && git reset --hard c2b235ee789fd452ba37c57957cc280fb37f9c52)
# Copy only source code and includes
cp tmp/*.cpp tmp/*.h tmp/*.def .
# Remove the temporary directory
rm -Rf tmp/