From c175614623b1fd4e9565217a5c95b8ad2056e3a2 Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Wed, 22 Nov 2023 20:22:15 -0800 Subject: [PATCH] 10. use the following to build a CodeQL database. --- README.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 653b186..20b4f33 100644 --- a/README.org +++ b/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