Updated readme

This commit is contained in:
Michael Hohn
2022-08-21 21:05:38 -07:00
committed by =Michael Hohn
parent c01a039d23
commit c1b3c8d901

View File

@@ -63,7 +63,7 @@
To get started, build the codeql database (adjust paths to your setup): To get started, build the codeql database (adjust paths to your setup):
#+BEGIN_SRC sh #+BEGIN_SRC sh
# Build the db with source commit id. # Build the db with source commit id.
export PATH=$HOME/local/codeql-2.7.6/codeql:"$PATH" export PATH=$HOME/local/codeql-v2.9.3/codeql:"$PATH"
SRCDIR=$HOME/local/codeql-dataflow-sql-injection SRCDIR=$HOME/local/codeql-dataflow-sql-injection
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD) DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
@@ -184,7 +184,7 @@
#+BEGIN_SRC sh #+BEGIN_SRC sh
# The setup information from before # The setup information from before
export PATH=$HOME/local/codeql-2.7.6/codeql:"$PATH" export PATH=$HOME/local/codeql-v2.9.3/codeql:"$PATH"
SRCDIR=$HOME/local/codeql-dataflow-sql-injection SRCDIR=$HOME/local/codeql-dataflow-sql-injection
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD) DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
@@ -201,7 +201,7 @@
--ram=14000 \ --ram=14000 \
-j12 \ -j12 \
--rerun \ --rerun \
--search-path $HOME/local/codeql-2.7.6/ql \ --search-path $HOME/local/codeql-v2.9.3/ql \
--format=sarif-latest \ --format=sarif-latest \
--output cpp-sqli.sarif \ --output cpp-sqli.sarif \
-- \ -- \