mirror of
https://github.com/hohn/codeql-javascript-multiflow.git
synced 2025-12-16 20:03:04 +01:00
10. use the following to build a CodeQL database.
This commit is contained in:
committed by
=Michael Hohn
parent
c860686fd0
commit
c175614623
11
README.org
11
README.org
@@ -98,15 +98,18 @@
|
|||||||
codeql --version
|
codeql --version
|
||||||
: CodeQL command-line toolchain release 2.13.5.
|
: CodeQL command-line toolchain release 2.13.5.
|
||||||
|
|
||||||
cd ~/local/codeql-dataflow-sql-injection-python
|
cd ~/local/codeql-javascript-multiflow/
|
||||||
|
|
||||||
DB=./python-sqli-db-$(git rev-parse --short HEAD)
|
|
||||||
|
|
||||||
|
DB=./js-sqli-db-$(git rev-parse --short HEAD)
|
||||||
echo $DB
|
echo $DB
|
||||||
|
|
||||||
test -d "$DB" && rm -fR "$DB"
|
test -d "$DB" && rm -fR "$DB"
|
||||||
mkdir -p "$DB"
|
mkdir -p "$DB"
|
||||||
|
|
||||||
codeql database create --language=python -s . -j 8 -v $DB
|
codeql database create --language=javascript -s . -j 8 -v $DB
|
||||||
|
|
||||||
|
# Check it
|
||||||
|
unzip -v js-sqli-db-*/src.zip |grep add
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
11. add the database to the editor. To do this there is a widget on the left
|
11. add the database to the editor. To do this there is a widget on the left
|
||||||
|
|||||||
Reference in New Issue
Block a user