github / github/codeql

Inconsistency between the sarif file and information from vscode codeql panel

Open
#18,933 3 comments 0 reactions 1 assignee Claimed by @mbg View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

I'm running a query. The vscode codeql addon gives the following analysis result.

![Image](https://github.com/user-attachments/assets/02e6e910-a99c-4f12-8f4e-7afcc5ca409a)

From the image, i suppose there should be 8 paths in total. However, when i look at the sarif file, it only present four. What about the other four? The first and second thread flows belong to the upper one, third and forth belong to the lower one.

```json
...
"codeFlows" : [
{
"first thread flow" : [{}]
},
{
"second thread flow" : [{}]
},
{
"third thread flow" : [{}]
},
{
"forth thread flow" : [{}]
},
],
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.