diff options
author | van Hauser <vh@thc.org> | 2021-04-20 11:38:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 11:38:09 +0200 |
commit | 48cef3c74727407f82c44800d382737265fe65b4 (patch) | |
tree | 07338ec82703c20cc1f78a235ac3ad16e2465bf1 /utils/autodict_ql/build-codeql.sh | |
parent | f7179e44f6c46fef318b6413d9c00693c1af4602 (diff) | |
parent | 3b5fa3632b0e482b2915709d7fbec827e1d997b9 (diff) | |
download | afl++-48cef3c74727407f82c44800d382737265fe65b4.tar.gz |
Merge pull request #871 from AFLplusplus/dev
push to stable
Diffstat (limited to 'utils/autodict_ql/build-codeql.sh')
-rw-r--r-- | utils/autodict_ql/build-codeql.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/autodict_ql/build-codeql.sh b/utils/autodict_ql/build-codeql.sh new file mode 100644 index 00000000..6ae4b362 --- /dev/null +++ b/utils/autodict_ql/build-codeql.sh @@ -0,0 +1,17 @@ +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 |