summaryrefslogtreecommitdiffstats
path: root/tools/fuzzing/libfuzzer/clone_libfuzzer.sh
blob: 6170362ac9fbf8fc2a41ce8c3b97e9045fe4b3a3 (plain)
1
2
3
4
5
6
7
#!/bin/sh

mkdir tmp/
git clone --no-checkout --depth 1 https://chromium.googlesource.com/chromium/llvm-project/llvm/lib/Fuzzer tmp/
mv tmp/.git .
rm -Rf tmp
git reset --hard HEAD