Files
tubestation/tools/fuzzing/libfuzzer/clone_libfuzzer.sh
rforbes 5ebee3ca5d Bug 1365994 - Update libfuzzer r=decoder
MozReview-Commit-ID: GCwIIZd5PTS
***
1365994 - update moz.build for libfuzzer

MozReview-Commit-ID: IxbLnviJC08
2017-05-18 10:23:05 -07:00

12 lines
320 B
Bash
Executable File

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