tools/fuzzing/libfuzzer/clone_libfuzzer.sh
author Alex Gaynor <agaynor@mozilla.com>
Mon, 09 Apr 2018 10:00:54 -0400
changeset 412534 470ed9163d2219a5dfd9b26f8fce4842ecbeab9d
parent 410757 1caa3b80f1faf1c0fe5cc30ff572df340280b9a4
child 431841 f578ca2a361ec09d98582dc9428345d9c57096ec
permissions -rwxr-xr-x
Bug 1452625 - bumped in-tree libFuzzer to latest version; r=decoder MozReview-Commit-ID: 4Y5MMrK45ts

#!/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/