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

MozReview-Commit-ID: IxbLnviJC08

--HG--
extra : rebase_source : 2ca4965181388fa113e2781fbd14b5f5ae2bbc4b
2017-05-18 10:23:05 -07:00

11 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/