Files
codeql-dataflow-sql-injection/qlpack.yml
Michael Hohn c01a039d23 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:
2022-08-21 20:59:06 -07:00

8 lines
130 B
YAML

name: sample/cpp-sql-injection
version: 0.0.1
groups:
- cpp
- queries
libraryPathDependencies: codeql/cpp-all
extractor: cpp