Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty analyze results when running with microsoft/[email protected] #17785

Open
displaylink-kstrzemp opened this issue Oct 16, 2024 · 4 comments
Labels
awaiting-response The CodeQL team is awaiting further input or clarification from the original reporter of this issue. question Further information is requested Stale

Comments

@displaylink-kstrzemp
Copy link

What I'm trying to do is run microsoft/[email protected] test set against windows kernel driver code so that I can generate DVL file from codeql SARIF file for MS HLK (certification). Code compiles fine and codeql runs without any errors, but result file is empty (both SARIF and CSV I've tried for debugging). I have even injected some code that should have been flagged as an issue to be sure.

I'm running following (batch) script from sources root (c:\workspace):

c:\codeql\codeql.exe database create c:\workspace\codeql\database -J-Xmx1024M --verbose -j=0 -s=c:\workspace --language=cpp --command="msbuild.exe TL-USBNET_vs2019.sln /m /t:Build /v:%verbosity% /p:Configuration=%BUILD_CONFIG% /p:Platform=%platform% /p:PlatformName=%platform%"

c:\codeql\codeql.exe database analyze --download c:\workspace\codeql\database microsoft/[email protected] --format=csv --output=codeql.csv --verbose
c:\codeql\codeql.exe database analyze --download c:\workspace\codeql\database microsoft/[email protected] --format=sarif-latest --output=source/tl-usbnet/codeql.sarif --verbose

Codeql output is like:

Initializing database at c:\workspace\codeql\database.
Calculating baseline information in C:\workspace
Calculated baseline information for languages: cpp, python (1.9s).
Resolving extractor cpp.
Successfully loaded extractor C/C++ (cpp) from c:\codeql\cpp.
Created skeleton CodeQL database at c:\workspace\codeql\database. This in-progress database is ready to be populated by an extractor.
Running build command: [msbuild.exe, TL-USBNET_vs2019.sln, /m, /t:Build, /v:normal, /p:Configuration=Release_660, /p:Platform=x64, /p:PlatformName=x64]
Running command in C:\workspace: [msbuild.exe, TL-USBNET_vs2019.sln, /m, /t:Build, /v:normal, /p:Configuration=Release_660, /p:Platform=x64, /p:PlatformName=x64]
<---- building --->
Finalizing database at c:\workspace\codeql\database.
Running TRAP import for CodeQL database at c:\workspace\codeql\database...
Grouping TRAP files by link target
Scanning TRAP files
Assembling TRAP files
Importing TRAP files
Merging relations
Finished writing database (relations: 17.47 MiB; string pool: 5.53 MiB).
TRAP import complete (13.1s).
Cleaning up existing TRAP files after import...
TRAP files cleaned up (98ms).
Cleaning up scratch directory...
Scratch directory cleaned up (210ms).
Finished zipping source archive (1.49 MiB).
Successfully created database at c:\workspace\codeql\database.

C:\workspace>c:\codeql\codeql.exe database analyze --download c:\workspace\codeql\database microsoft/[email protected] --format=csv --output=codeql.csv --verbose
Writing logs to C:\workspace\codeql\database\log\database-analyze-20241016.143057.237.log.
Downloading queries...
Package specifications to check for download: microsoft/[email protected]
{
  "packs" : [
    {
      "name" : "microsoft/windows-drivers",
      "version" : "1.1.0",
      "library" : false,
      "result" : "INSTALLED"
    }
  ],
  "packDir" : "C:\\Users\\ContainerAdministrator\\.codeql\\packages"
}
Running queries.
Writing logs to C:\workspace\codeql\database\log\execute-queries-20241016.143221.512.log.
Recording pack reference microsoft/windows-drivers at C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0.
[1/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\WdkDeprecatedApis\wdk-deprecated-api.qlx.
[2/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Security\CWE\CWE-704\WcharCharConversionLimited.qlx.
[3/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\DefaultPoolTag\DefaultPoolTag.qlx.
[4/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\ExaminedValue\ExaminedValue.qlx.
[5/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\ExtendedDeprecatedApis\ExtendedDeprecatedApis.qlx.
[6/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlNotSaved\IrqlNotSaved.qlx.
[7/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlNotUsed\IrqlNotUsed.qlx.
[8/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlSetTooLow\IrqlSetTooLow.qlx.
[9/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlTooHigh\IrqlTooHigh.qlx.
[10/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlTooLow\IrqlTooLow.qlx.
[11/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\KeSetEventPageable\KeSetEventPageable.qlx.
[12/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\PoolTagIntegral\PoolTagIntegral.qlx.
[13/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\RoleTypeCorrectlyUsed\RoleTypeCorrectlyUsed.qlx.
[14/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\StrSafe\StrSafe.qlx.
[15/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\IllegalFieldAccess\IllegalFieldAccess.qlx.
[16/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\IllegalFieldAccess2\IllegalFieldAccess2.qlx.
[17/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\IllegalFieldWrite\IllegalFieldWrite.qlx.
[18/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\OpaqueMdlUse\OpaqueMdlUse.qlx.
[19/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\PendingStatusError\PendingStatusError.qlx.
[20/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\WrongDispatchTableAssignment\WrongDispatchTableAssignment.qlx.
[21/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Boundary Violations\PaddingByteInformationDisclosure.qlx.
[22/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Conversion\BadOverflowGuard.qlx.
[23/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Conversion\InfiniteLoop.qlx.
[24/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Memory Management\UseAfterFree\UseAfterFree.qlx.
[25/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\UninitializedPtrField.qlx.
[26/26] Loaded C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Security\Crytpography\HardcodedIVCNG.qlx.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\DefaultPoolTag\DefaultPoolTag.ql.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\ExaminedValue\ExaminedValue.ql.
[1/26 eval 4.3s] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\DefaultPoolTag\DefaultPoolTag.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\ExtendedDeprecatedApis\ExtendedDeprecatedApis.ql.
[2/26 eval 5s] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\ExaminedValue\ExaminedValue.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\IrqlNotSaved\IrqlNotSaved.ql.
[3/26 eval 1.5s] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\ExtendedDeprecatedApis\ExtendedDeprecatedApis.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\IrqlNotUsed\IrqlNotUsed.ql.
[4/26 eval 12.8s] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\IrqlNotSaved\IrqlNotSaved.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\IrqlSetTooLow\IrqlSetTooLow.ql.
[5/26 eval 315ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\IrqlNotUsed\IrqlNotUsed.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\IrqlTooHigh\IrqlTooHigh.ql.
[6/26 eval 2.2s] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\IrqlSetTooLow\IrqlSetTooLow.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\IrqlTooLow\IrqlTooLow.ql.
[7/26 eval 167ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\IrqlTooHigh\IrqlTooHigh.bqrs.
[8/26 eval 25ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\IrqlTooLow\IrqlTooLow.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\KeSetEventPageable\KeSetEventPageable.ql.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\PoolTagIntegral\PoolTagIntegral.ql.
[9/26 eval 10ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\KeSetEventPageable\KeSetEventPageable.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\RoleTypeCorrectlyUsed\RoleTypeCorrectlyUsed.ql.
[10/26 eval 101ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\PoolTagIntegral\PoolTagIntegral.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\StrSafe\StrSafe.ql.
[11/26 eval 809ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\RoleTypeCorrectlyUsed\RoleTypeCorrectlyUsed.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\general\queries\WdkDeprecatedApis\wdk-deprecated-api.ql.
[12/26 eval 15ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\StrSafe\StrSafe.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\wdm\queries\IllegalFieldAccess2\IllegalFieldAccess2.ql.
[13/26 eval 87ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\general\queries\WdkDeprecatedApis\wdk-deprecated-api.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\wdm\queries\IllegalFieldAccess\IllegalFieldAccess.ql.
[14/26 eval 140ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\wdm\queries\IllegalFieldAccess2\IllegalFieldAccess2.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\wdm\queries\IllegalFieldWrite\IllegalFieldWrite.ql.
[15/26 eval 173ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\wdm\queries\IllegalFieldAccess\IllegalFieldAccess.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\wdm\queries\OpaqueMdlUse\OpaqueMdlUse.ql.
[16/26 eval 45ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\wdm\queries\IllegalFieldWrite\IllegalFieldWrite.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\wdm\queries\PendingStatusError\PendingStatusError.ql.
[17/26 eval 362ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\wdm\queries\OpaqueMdlUse\OpaqueMdlUse.bqrs.
Starting evaluation of microsoft\windows-drivers\drivers\wdm\queries\WrongDispatchTableAssignment\WrongDispatchTableAssignment.ql.
[18/26 eval 107ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\wdm\queries\PendingStatusError\PendingStatusError.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Likely Bugs\Boundary Violations\PaddingByteInformationDisclosure.ql.
[19/26 eval 106ms] Evaluation done; writing results to microsoft\windows-drivers\drivers\wdm\queries\WrongDispatchTableAssignment\WrongDispatchTableAssignment.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Likely Bugs\Conversion\BadOverflowGuard.ql.
[20/26 eval 1.5s] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Likely Bugs\Boundary Violations\PaddingByteInformationDisclosure.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Likely Bugs\Conversion\InfiniteLoop.ql.
[21/26 eval 57ms] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Likely Bugs\Conversion\BadOverflowGuard.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Likely Bugs\Memory Management\UseAfterFree\UseAfterFree.ql.
[22/26 eval 351ms] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Likely Bugs\Conversion\InfiniteLoop.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Likely Bugs\UninitializedPtrField.ql.
[23/26 eval 5.3s] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Likely Bugs\Memory Management\UseAfterFree\UseAfterFree.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Security\Crytpography\HardcodedIVCNG.ql.
[24/26 eval 304ms] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Likely Bugs\UninitializedPtrField.bqrs.
Starting evaluation of microsoft\windows-drivers\microsoft\Security\CWE\CWE-704\WcharCharConversionLimited.ql.
[25/26 eval 205ms] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Security\Crytpography\HardcodedIVCNG.bqrs.
[26/26 eval 8.1s] Evaluation done; writing results to microsoft\windows-drivers\microsoft\Security\CWE\CWE-704\WcharCharConversionLimited.bqrs.
Shutting down query evaluator.
Interpreting results.
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\WdkDeprecatedApis\wdk-deprecated-api.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Security\CWE\CWE-704\WcharCharConversionLimited.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\DefaultPoolTag\DefaultPoolTag.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\ExaminedValue\ExaminedValue.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\ExtendedDeprecatedApis\ExtendedDeprecatedApis.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlNotSaved\IrqlNotSaved.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlNotUsed\IrqlNotUsed.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlSetTooLow\IrqlSetTooLow.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlTooHigh\IrqlTooHigh.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\IrqlTooLow\IrqlTooLow.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\KeSetEventPageable\KeSetEventPageable.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\PoolTagIntegral\PoolTagIntegral.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\RoleTypeCorrectlyUsed\RoleTypeCorrectlyUsed.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\general\queries\StrSafe\StrSafe.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\IllegalFieldAccess\IllegalFieldAccess.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\IllegalFieldAccess2\IllegalFieldAccess2.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\IllegalFieldWrite\IllegalFieldWrite.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\OpaqueMdlUse\OpaqueMdlUse.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\PendingStatusError\PendingStatusError.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\drivers\wdm\queries\WrongDispatchTableAssignment\WrongDispatchTableAssignment.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Boundary Violations\PaddingByteInformationDisclosure.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Conversion\BadOverflowGuard.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Conversion\InfiniteLoop.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\Memory Management\UseAfterFree\UseAfterFree.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Likely Bugs\UninitializedPtrField.ql...
Interpreting C:\Users\ContainerAdministrator\.codeql\packages\microsoft\windows-drivers\1.1.0\microsoft\Security\Crytpography\HardcodedIVCNG.ql...
Exporting results to CSV...
Exported results to CSV (31ms).

<---- and pretty much the same for SARIF one -->

Could you please help me debug this issue? Where to look for a problem ?

@displaylink-kstrzemp displaylink-kstrzemp added the question Further information is requested label Oct 16, 2024
@rvermeulen
Copy link
Contributor

Hi @displaylink-kstrzemp,

Thanks for your question. I will forward your request to the appropriate team.
Would it be possible to run the following script https://gist.github.com/rvermeulen/15c76df6781e4705ade9d584ea8ec091 to collect diagnostic information on the database.

This script will run the following queries: https://github.com/github/codeql/tree/main/cpp/ql/src/Diagnostics and export the results as CSV.

The results will give you an indication whether all the required files were indexed and if there were issues with extracting files.
If files are missing, or there are a lot of extractor warnings and failed extractor invocations this might be the cause for degraded analysis results.

@rvermeulen rvermeulen added the awaiting-response The CodeQL team is awaiting further input or clarification from the original reporter of this issue. label Oct 16, 2024
@displaylink-kstrzemp
Copy link
Author

Thanks for quick response! I'm afraid i won't be able to run that bash script since I'm working on Windodws OS. What I've done is manualy created that disagnostic suite and downloaded cpp-queries and cpp-all and run following powershell:

$temp_suite_file = "diagnostic-suite.qls"
$database = "codeql\database"

$queries = & c:\codeql\codeql.exe resolve queries $temp_suite_file
foreach ($query in $queries) {
    $output_base = Split-Path -Leaf $query
    if (-not (& c:\codeql\codeql.exe query run -o "$output_base.bqrs" -d $database $query)) {
        Write-Host "Failed to run query: $query"
        continue
    }
    if (-not (& c:\codeql\codeql.exe bqrs decode --format csv -o "$output_base.csv" "$output_base.bqrs")) {
        Write-Host "Failed to decode results: $output_base.bqrs"
        continue
    }
}

And that doesn't work for me:

Recording pack reference codeql/cpp-queries at C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.vector.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.format.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.iterator.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.vector.model.yml:1,1-1)
A fatal error occurred: A 'codeql resolve extensions-by-pack' operation failed with error code 2
Failed to run query: C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4\Diagnostics\ExtractedFiles.ql
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.vector.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.format.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.iterator.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.vector.model.yml:1,1-1)
A fatal error occurred: A 'codeql resolve extensions-by-pack' operation failed with error code 2
Failed to run query: C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4\Diagnostics\ExtractionWarnings.ql
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.vector.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.format.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.iterator.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.vector.model.yml:1,1-1)
A fatal error occurred: A 'codeql resolve extensions-by-pack' operation failed with error code 2
Failed to run query: C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4\Diagnostics\FailedExtractorInvocations.ql
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\Boost.Asio.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\bsl.vector.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:sinkModel, extensible predicate 'sinkModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\empty.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.array.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.deque.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.format.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.forward_list.model.yml:1,1-1
)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.iterator.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.list.model.yml:1,1-1)
ERROR: In extension for codeql/cpp-all:summaryModel, extensible predicate 'summaryModel' does not exist in pack 'codeql/cpp-all'. (C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4.codeql\libraries\codeql\cpp-all\2.0.1\ext\std.vector.model.yml:1,1-1)
A fatal error occurred: A 'codeql resolve extensions-by-pack' operation failed with error code 2
Failed to run query: C:\Users\ContainerAdministrator.codeql\packages\codeql\cpp-queries\1.2.4\Diagnostics\Internal\ExtractionErrors.ql

@displaylink-kstrzemp
Copy link
Author

displaylink-kstrzemp commented Oct 17, 2024

OK - I've managed to run simplified version of my script:

$temp_suite_file = "diagnostic-suite.qls"
$database = "codeql\database"

$queries = & codeql\codeql.exe resolve queries $temp_suite_file
foreach ($query in $queries) {
    $output_base = Split-Path -Leaf $query
    codeql\codeql.exe query run -o "$output_base.bqrs" -d $database $query
    codeql\codeql.exe bqrs decode --format csv -o "$output_base.csv" "$output_base.bqrs"
}

but using instead codeql bundle of standalone codeql I have had before. Now I found 2 errors in generated csv files:

"Unrecoverable extraction error while compiling C:/workspace/source/libtlndis/_libtlndis_compile_all.cpp","Extraction failed in C:/workspace/source/libtlndis/_libtlndis_compile_all.cpp with error unrecoverable compilation failure.",2

"Extraction aborted for compiler invocation c:\dev\ewdk\ewdk_w11_22000_210604\program files\microsoft visual studio\2019\buildtools\vc\tools\msvc\14.28.29910\bin\hostx86\x64\cl.exe @C:\Users\ContainerAdministrator\AppData\Local\Temp\tmp3aaf46a3c6864e14a65867249940c1b9.rsp",2

Copy link
Contributor

github-actions bot commented Nov 1, 2024

This issue is stale because it has been open 14 days with no activity. Comment or remove the Stale label in order to avoid having this issue closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response The CodeQL team is awaiting further input or clarification from the original reporter of this issue. question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

2 participants