File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 To get started, build the codeql database (adjust paths to your setup):
6464 #+BEGIN_SRC sh
6565 # Build the db with source commit id.
66- export PATH=$HOME/local/codeql-2.7.6 /codeql:"$PATH"
66+ export PATH=$HOME/local/codeql-v2.9.3 /codeql:"$PATH"
6767 SRCDIR=$HOME/local/codeql-dataflow-sql-injection
6868 DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
6969
184184
185185 #+BEGIN_SRC sh
186186 # The setup information from before
187- export PATH=$HOME/local/codeql-2.7.6 /codeql:"$PATH"
187+ export PATH=$HOME/local/codeql-v2.9.3 /codeql:"$PATH"
188188 SRCDIR=$HOME/local/codeql-dataflow-sql-injection
189189 DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
190190
201201 --ram=14000 \
202202 -j12 \
203203 --rerun \
204- --search-path $HOME/local/codeql-2.7.6 /ql \
204+ --search-path $HOME/local/codeql-v2.9.3 /ql \
205205 --format=sarif-latest \
206206 --output cpp-sqli.sarif \
207207 -- \
You can’t perform that action at this time.
0 commit comments