mirror of
https://github.com/hohn/codeql-javascript-multiflow.git
synced 2025-12-16 03:53: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 command-line toolchain release 2.13.5.
|
||||
|
||||
cd ~/local/codeql-dataflow-sql-injection-python
|
||||
|
||||
DB=./python-sqli-db-$(git rev-parse --short HEAD)
|
||||
cd ~/local/codeql-javascript-multiflow/
|
||||
|
||||
DB=./js-sqli-db-$(git rev-parse --short HEAD)
|
||||
echo $DB
|
||||
|
||||
test -d "$DB" && rm -fR "$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
|
||||
|
||||
11. add the database to the editor. To do this there is a widget on the left
|
||||
|
||||
Reference in New Issue
Block a user