diff options
author | microsvuln <55649192+Microsvuln@users.noreply.github.com> | 2021-04-03 02:02:45 +0400 |
---|---|---|
committer | microsvuln <55649192+Microsvuln@users.noreply.github.com> | 2021-04-03 02:02:45 +0400 |
commit | a26ed3b7580e31b6f6f174169528fc0bebe20ad6 (patch) | |
tree | f6ad49b8e2a8496f4718487ce8b7f7466e35e0a2 /utils/autodict_ql/build-codeql.sh | |
parent | 565f61a6abc30dfb4df0269384466589690fbae5 (diff) | |
download | afl++-a26ed3b7580e31b6f6f174169528fc0bebe20ad6.tar.gz |
update the codes, readme
- add readme - add required qlpack.yml
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..ccff932e --- /dev/null +++ b/utils/autodict_ql/build-codeql.sh @@ -0,0 +1,17 @@ +cd ~ +if [ -d "codeql-home" ]; then + echo "Exist !" + exit 1 +fi +sudo apt install build-essential libtool-bin python3-dev automake git vim wget -y +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" +codeql resolve languages +codeql resolve qlpacks +echo "export PATH=~/codeql-home/codeql-cli/:$PATH" >> ~/.bashrc \ No newline at end of file |