-
Notifications
You must be signed in to change notification settings - Fork 105
SARIF OM changes for nullable int batch 1 #2650
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
Changes from 11 commits
b2755ce
9e01d59
c7a4e9e
8191636
5db7146
aff3990
22e2a6d
9ad7bec
6301d31
1e24696
fefed9a
4853307
96fd780
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -225,6 +225,11 @@ private void ProcessLine(string logFileLine, ref int nestingLevel, Result result | |
| } | ||
| } | ||
|
|
||
| if (threadFlowLocation.NestingLevel == 0) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you are correct, this is code for converting StaticDriverVerifier result to SARIF, the NestingLevel here is converted so if it is 0 then it means 0, not unknown. I have reverted this change, and fixed the test expected outputs to have this property. |
||
| { | ||
| threadFlowLocation.NestingLevel = null; | ||
| } | ||
|
|
||
| string separatorText = "^====Auto====="; | ||
| string state = tokens[STATE]; | ||
| string[] stateTokens = state.Split(new string[] { separatorText }, StringSplitOptions.RemoveEmptyEntries); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note, this file is from sample solution. #Closed