AFLplusplus/utils/autodict_ql/build-codeql.sh
microsvuln 70e9757044 new commit - change strings
new commit - change strings
2021-04-03 15:47:22 +04:00

17 lines
516 B
Bash

cd ~
if [ -d "codeql-home" ]; then
echo "Exist !"
exit 1
fi
mkdir codeql-home
cd codeql-home
git clone https://github.com/github/codeql.git codeql-repo
git clone https://github.com/github/codeql-go.git
wget https://github.com/github/codeql-cli-binaries/releases/download/v2.4.6/codeql-linux64.zip
unzip codeql-linux64.zip
mv codeql codeql-cli
export "PATH=~/codeql-home/codeql-cli/:$PATH"
echo "export PATH=~/codeql-home/codeql-cli/:$PATH" >> ~/.bashrc
codeql resolve languages
codeql resolve qlpacks
codeql