Skip to content

Unresolved ql packs / library contents #1

Answered by hohn
hohn asked this question in Q&A
Discussion options

You must be logged in to vote

Possible fixes When using the codeql binary + codeql library snapshot:

  1. Fix one: use the original libraryPathDependencies in qlpack.yml

    name: sample/cpp-sql-injection
    version: 0.0.1
    groups: 
    - cpp
    - queries
    libraryPathDependencies: codeql/cpp-all
    extractor: cpp
    
  2. Fix two: use --additional-packs instead of --search-path:

    codeql database analyze                                 \
    -v                                               \
    --ram=14000                                      \
    -j12                                             \
    --rerun                                          \
    --additional-packs $HOME/local/codeql-v2.9.3/ql       \
    --format=sarif-latest                            \
    --ou…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@aeisenberg
Comment options

Answer selected by hohn
Comment options

You must be logged in to vote
1 reply
@hohn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants