Skip to content

Commit c01a039

Browse files
committed
Partially revert qlpack to get working cli command
This, from the README, now works: codeql database analyze \ -v \ --ram=14000 \ -j12 \ --rerun \ --search-path $HOME/local/codeql-v2.9.3/ql \ --format=sarif-latest \ --output cpp-sqli.sarif \ -- \ $DB \ $SRCDIR/SqlInjection.ql It failed with ERROR: Referenced pack 'codeql/cpp-all' not found. (/Users/hohn/local/codeql-dataflow-sql-injection/qlpack.yml:1,1-1) when using dependencies:
1 parent 83e4ac9 commit c01a039

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

qlpack.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: cpp-sql-injection
2-
version: 0.0.0
3-
dependencies:
4-
# This uses the latest version of the codeql/cpp-all library.
5-
# You may want to change to a more precise semver string.
6-
codeql/cpp-all: "*"
7-
1+
name: sample/cpp-sql-injection
2+
version: 0.0.1
3+
groups:
4+
- cpp
5+
- queries
6+
libraryPathDependencies: codeql/cpp-all
7+
extractor: cpp

0 commit comments

Comments
 (0)