Tamas Vajk
|
01af74aeda
|
C#: Add space to CMD metacharacters
|
2023-08-14 11:19:17 +02:00 |
|
Tamas Vajk
|
3680681e8b
|
C#: Add integration test for standalone extraction
|
2023-08-14 11:19:00 +02:00 |
|
Michael Nebel
|
d76bb49b6a
|
C#: Make some FileContent unit tests.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
a0bad3ce15
|
C#: Re-factor FileContent to make it unit-testable and make an initializer class.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
a362ce083d
|
C#: Some file content regexp tweaking.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
c95d219c84
|
C#: Re-factor the processing of all files into a helper class and make sure to only do one pass of the files.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
db685e5fc4
|
C#: Tidy up.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
e24fa4705a
|
C#: Introduce caching or detecting the newest runtimes and fetching all file names in the source dir.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
ddb50b8120
|
C#: Improve regular expressions and fix lowercase issue.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
ca7fa2e7c8
|
C#: Use ASP.NET dlls when needed and available.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
b71c41018c
|
C#: Re-factor the GetRuntime method.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
5bc8804242
|
C#: Introduce method to decide whether we need to include ASP.NET dlls in standalone compilation.
|
2023-08-14 11:18:19 +02:00 |
|
Michael Nebel
|
88b51e6ad3
|
C#: Re-factor logic for fetching info from group and remove a redundant continue statement.
|
2023-08-14 11:18:18 +02:00 |
|
Michael Nebel
|
881d86321e
|
C#: Introduce regex for framework reference and project sdk and make some minor re-writes.
|
2023-08-14 11:18:18 +02:00 |
|
Michael Nebel
|
9e03a211a5
|
C#: Add unit test where path to dotnet frameworks contain whitespaces.
|
2023-08-14 10:40:00 +02:00 |
|
Michael Nebel
|
1942ea8396
|
C#: Paths can contain whitespace (this is indeed common on windows).
|
2023-08-14 10:40:00 +02:00 |
|
Michael Nebel
|
280a27d9ca
|
C#: Log some more info during dotnet --list-runtimes execution.
|
2023-08-14 10:40:00 +02:00 |
|
Michael Nebel
|
78c732db97
|
C#: Re-factor of ProgressMonitor and introduce LogInfo.
|
2023-08-14 10:40:00 +02:00 |
|
Michael Nebel
|
ef9453e862
|
C#: Selected runtime location should be logged as information.
|
2023-08-14 10:40:00 +02:00 |
|
Henry Mercer
|
1213eba630
|
Merge branch 'main' into post-release-prep/codeql-cli-2.14.2
|
2023-08-11 13:54:55 +01:00 |
|
Michael Nebel
|
f6aca58dbb
|
Merge pull request #13885 from michaelnebel/csharp/linqforeach
C#: LINQ recommendation queries.
|
2023-08-10 14:55:11 +02:00 |
|
github-actions[bot]
|
432c21d4fb
|
Post-release preparation for codeql-cli-2.14.2
|
2023-08-09 18:45:18 +00:00 |
|
Tom Hvitved
|
7dac819730
|
C#: Fix bad join order
Before
```
Evaluated recursive predicate Stmt#3baf294a::TryStmt::getATriedElement#ff@8254eapb in 6096ms on iteration 4 (delta size: 592145).
Evaluated relational algebra for predicate Stmt#3baf294a::TryStmt::getATriedElement#ff@8254eapb on iteration 4 running pipeline standard with tuple counts:
204507 ~0% {2} r1 = SCAN Stmt#3baf294a::TryStmt::getATriedElement#ff#prev_delta OUTPUT In.1, In.0
204507 ~0% {3} r2 = JOIN r1 WITH _@callable#f_ControlFlowElement#9501aa28::ControlFlowElement::getEnclosingCallable#0#dispred#ff_10#j__#join_rhs ON FIRST 1 OUTPUT Rhs.1, Lhs.0, Lhs.1
17844283 ~0% {3} r3 = JOIN r2 WITH ControlFlowElement#9501aa28::ControlFlowElement::getEnclosingCallable#0#dispred#ff_10#join_rhs ON FIRST 1 OUTPUT Lhs.1, Rhs.1, Lhs.2
592145 ~0% {2} r4 = JOIN r3 WITH Element#baf0c59e::Element::getAChild#0#dispred#ff ON FIRST 2 OUTPUT Lhs.2, Lhs.1
592145 ~0% {2} r5 = r4 AND NOT Stmt#3baf294a::TryStmt::getATriedElement#ff#prev(Lhs.0, Lhs.1)
return r5
```
After
```
Evaluated recursive predicate Stmt#3baf294a::TryStmt::getATriedElement#ff@4adecd47 in 310ms on iteration 4 (delta size: 592145).
Evaluated relational algebra for predicate Stmt#3baf294a::TryStmt::getATriedElement#ff@4adecd47 on iteration 4 running pipeline standard with tuple counts:
204507 ~0% {2} r1 = SCAN Stmt#3baf294a::TryStmt::getATriedElement#ff#prev_delta OUTPUT In.1, In.0
204507 ~0% {2} r2 = r1 AND NOT _statements_10#join_rhs#antijoin_rhs#13(Lhs.0)
592145 ~2% {3} r3 = JOIN r2 WITH Element#baf0c59e::Element::getAChild#0#dispred#ff ON FIRST 1 OUTPUT Lhs.0, Lhs.1, Rhs.1
592145 ~0% {3} r4 = JOIN r3 WITH ControlFlowElement#9501aa28::ControlFlowElement::getEnclosingCallable#0#dispred#ff ON FIRST 1 OUTPUT Lhs.2, Rhs.1, Lhs.1
592145 ~0% {2} r5 = JOIN r4 WITH ControlFlowElement#9501aa28::ControlFlowElement::getEnclosingCallable#0#dispred#ff ON FIRST 2 OUTPUT Lhs.2, Lhs.0
592145 ~0% {2} r6 = r5 AND NOT Stmt#3baf294a::TryStmt::getATriedElement#ff#prev(Lhs.0, Lhs.1)
return r6
```
|
2023-08-09 11:28:06 +02:00 |
|
Anders Starcke Henriksen
|
8d34ab6d18
|
Merge branch 'main' into starcke/automodel-pack
|
2023-08-08 15:02:33 +02:00 |
|
Michael Nebel
|
f67d5e1dc6
|
C#: Add tests for the LINQ missed-where and missed-cast queries.
|
2023-08-08 10:32:16 +02:00 |
|
Michael Nebel
|
1a511c2d52
|
C#: Update the queries that provide LINQ recommendation.
|
2023-08-08 10:31:33 +02:00 |
|
Chad Bentz
|
d4b5a4d4f4
|
Merge branch 'main' into csharp-hardcoded-cred-identity-fp
|
2023-08-07 15:09:01 -04:00 |
|
Chad Bentz
|
7b33574b85
|
pull dependencies from Microsoft.AspNetCore.App
|
2023-08-07 18:45:16 +00:00 |
|
github-actions[bot]
|
79c90fa36a
|
Release preparation for version 2.14.2
|
2023-08-07 18:08:52 +00:00 |
|
Jeroen Ketema
|
8b6a7985db
|
Refactor the traint-tracking library to follow the dataflow library refactoring
|
2023-08-07 15:23:15 +02:00 |
|
Jeroen Ketema
|
5d2984b7a5
|
Merge branch 'main' into shared-taint-tracking
|
2023-08-07 15:22:29 +02:00 |
|
Michael Nebel
|
37a546253e
|
Merge pull request #13688 from michaelnebel/csharp/aspnetcore
C#: Turn RuntimeVersion into a record type.
|
2023-08-07 15:20:21 +02:00 |
|
Michael Nebel
|
6bb9e6d122
|
C#: Address review comments.
|
2023-08-07 13:40:37 +02:00 |
|
Tom Hvitved
|
05cf796c54
|
C#: Adjust to data flow refactor
|
2023-08-07 11:35:21 +02:00 |
|
Anders Starcke Henriksen
|
0d78eeb871
|
Address comments.
|
2023-08-07 10:47:59 +02:00 |
|
Chad Bentz
|
e2e9c810bf
|
Add lib change-notes
|
2023-08-04 22:11:36 +00:00 |
|
Chad Bentz
|
5a106fd5d6
|
Removes false positive creds from NetCore Identity
|
2023-08-04 21:46:35 +00:00 |
|
Jeroen Ketema
|
747cd1745a
|
Update all languages to use the shared taint-tracking library
|
2023-08-04 22:53:25 +02:00 |
|
Mathias Vorreiter Pedersen
|
abe3a816ce
|
Merge pull request #13851 from MathiasVP/sink-without-states
DataFlow: Support stateless `isSink` in `StateConfigSig`s
|
2023-08-04 18:01:42 +02:00 |
|
Michael Nebel
|
51c8331c8f
|
Merge pull request #13522 from michaelnebel/csharp/usestubs4
C#: Use stubs for query tests.
|
2023-08-04 15:40:08 +02:00 |
|
Tom Hvitved
|
b69188fee9
|
C#: Adopt shared CFG construction library from shared controlflow pack
|
2023-08-03 14:12:24 +02:00 |
|
Mathias Vorreiter Pedersen
|
3007fdab5e
|
Sync identical files.
|
2023-08-02 14:33:33 +02:00 |
|
Anders Schack-Mulligen
|
5c9a839ac7
|
C#: Adjust to use the qlpack data-flow api.
|
2023-08-01 13:47:09 +02:00 |
|
Michael Nebel
|
7ba8a663bf
|
C#: Base the CSI query test cases on stubs.
|
2023-08-01 12:55:35 +02:00 |
|
Michael Nebel
|
c3c5fc0981
|
C#: Base the Configuration query test cases on stubs.
|
2023-08-01 12:55:35 +02:00 |
|
Michael Nebel
|
324eac7718
|
C#: Base the Concurrency query test cases on stubs.
|
2023-08-01 12:55:35 +02:00 |
|
Michael Nebel
|
cf8dc64842
|
C#: Base the Bad Practices query test cases on stubs.
|
2023-08-01 12:55:35 +02:00 |
|
Michael Nebel
|
49c8daefca
|
C#: Base the Architecture query test cases on stubs.
|
2023-08-01 12:55:35 +02:00 |
|
Michael Nebel
|
ab4e643bf8
|
C#: Turn RuntimeVersion into a record type.
|
2023-08-01 12:54:55 +02:00 |
|
Owen Mansel-Chan
|
9b2b58a823
|
Sync files
|
2023-07-26 21:48:10 +01:00 |
|