Граф коммитов

706 Коммитов

Автор SHA1 Сообщение Дата
Calum Grant a3d5d2c8e4
Merge pull request #1345 from denislevin/denisl/cs/MishandlingJapaneseDatesAndLeapYear
C#: Japanese Era and Leap Year checks (Likely Bugs)
2019-06-20 10:21:26 +01:00
Calum Grant 3c9c0e943b
Merge pull request #1459 from hvitved/csharp/remove-deprecated
C#: Remove deprecated predicates
2019-06-19 17:56:20 +01:00
Calum Grant 07eb0ec5b2
Merge pull request #1462 from hvitved/csharp/controlflowgraph-depr
C#: Remove uses of deprecated `ControlFlowGraph` module
2019-06-19 17:55:04 +01:00
Calum Grant df2a46eb80
Merge pull request #1468 from hvitved/csharp/extractor-error
C#: Include extractor message in diagnostic queries
2019-06-19 17:47:11 +01:00
Denis Levin aab4351efb A few more changes from code review 2019-06-18 17:49:48 -07:00
Tom Hvitved 5443f74660 C#: Reintroduce deprecated `ControlFlowGraph` module 2019-06-18 11:44:12 +02:00
Tom Hvitved 70c5e39c5d C#: Include extractor message in diagnostic queries 2019-06-18 11:01:26 +02:00
Tom Hvitved a1d7382a67 C#: Update expected test output 2019-06-17 20:07:54 +02:00
Tom Hvitved 5cc11ba232 C#: Update nuget packages 2019-06-17 13:26:11 +02:00
Tom Hvitved d333ffb57a C#: Update to `netcoreapp2.2` 2019-06-17 13:21:00 +02:00
Tom Hvitved f408a6ddfc
Merge pull request #1404 from calumgrant/cs/dispose-not-called-on-throw
C#: Improvement to cs/dispose-not-called-on-throw
2019-06-17 11:25:16 +02:00
Tom Hvitved e70f17f260 C#: Remove uses of deprecated `ControlFlowGraph` module 2019-06-17 10:23:23 +02:00
semmle-qlci 03cf8ef94f
Merge pull request #1422 from hvitved/csharp/switch-expr-completion
Approved by calumgrant
2019-06-17 08:33:43 +01:00
Denis Levin da2422cb17 Addressed code review comments 2019-06-14 18:25:17 -07:00
Calum Grant 1e7ce8cd31
Merge pull request #1451 from hvitved/csharp/element-preds
C#: Move two predicates from `csharp/Element.qll` to `dotnet/Element.qll`
2019-06-14 16:21:28 +01:00
Tom Hvitved f56c1df732 C#: Remove deprecated predicates 2019-06-14 13:26:24 +02:00
Calum Grant 8354f813f7
Merge pull request #1419 from hvitved/csharp/stubs
C#: Improvements to `Stubs.qll`
2019-06-13 14:17:24 +01:00
Tom Hvitved 8c8929a702 C#: Move two predicates from `csharp/Element.qll` to `dotnet/Element.qll` 2019-06-13 13:00:18 +02:00
Tom Hvitved 8e38511aeb C#: Address review comments 2019-06-12 13:21:49 +02:00
Calum Grant 02875721df C#: Address review comment. 2019-06-12 09:50:03 +01:00
Calum Grant d055c85ff0 C#: Exclude case from cs/dispose-not-called-on-throw where the disposable is disposed by a UsingStmt, even when explicitly disposed. 2019-06-11 15:20:27 +01:00
Calum Grant b9d2fc3380 C#: DB upgrade script and stats. 2019-06-11 15:04:39 +01:00
Calum Grant 40481fbf9d C#: Make SuppressNullableWarningExpr a nonNullValue, and add a test. 2019-06-11 12:45:50 +01:00
Calum Grant d48ce859eb C#: Implement nullable warning suppression expressions. 2019-06-11 12:12:29 +01:00
Calum Grant fc0e34100a
Merge pull request #1397 from hvitved/csharp/lgtm-alerts-suite
C#: Make `csharp-alerts-lgtm` a stub
2019-06-10 18:24:41 +01:00
Tom Hvitved 17aad4b0a5 C#: Fix CFG for switch expressions in Boolean/nullness contexts 2019-06-07 15:39:33 +02:00
Tom Hvitved e538d8e9ac C#: Add CFG tests for switch expression in Boolean/nullness context 2019-06-07 15:39:28 +02:00
Tom Hvitved 7c802ada40 C#: Improvements to `Stubs.qll`
- Handle keywords.
- Handle `const` fields.
- Handle type parameter constraints.
2019-06-07 14:50:33 +02:00
Calum Grant c88359b9c7 C#: Fix test. 2019-06-05 09:42:48 +01:00
Calum Grant 9678f8eaba C#: Fix control flow graph for using declaration statements. 2019-06-04 18:10:49 +01:00
Calum Grant 20752c80c9 C#: Address review comments 2019-06-04 18:10:49 +01:00
Calum Grant f1bb8b893b C#: Fix test. 2019-06-04 18:10:49 +01:00
Calum Grant 73c2898666 C#: Minor edits. 2019-06-04 18:10:49 +01:00
Calum Grant 5679a72f37 C#: DB Upgrade script 2019-06-04 18:10:49 +01:00
Calum Grant d6fac7bfb7 C#: Delete file. 2019-06-04 18:10:49 +01:00
Calum Grant fa89d2b845 C#: Update stats and test output. 2019-06-04 18:10:49 +01:00
Calum Grant 923fbe4c9e C#: Implement QL model for `using` declarations, introducing `UsingBlockStmt` and a `UsingDeclStmt`. 2019-06-04 18:10:49 +01:00
Calum Grant 15cd1d274a C#: Implement using declaration statements. 2019-06-04 18:10:49 +01:00
Calum Grant ac3a06f77b C#: Implement null coalescing assignment operator 2019-06-04 18:10:49 +01:00
Calum Grant 599a5b1eef C#: Make @local_function @modifiable, make LocalFunction extend Modifiable, and extract modifiers for local functions. 2019-06-04 18:10:49 +01:00
Tom Hvitved ba0aab963f C#: Make `csharp-alerts-lgtm` a stub 2019-06-04 15:26:16 +02:00
Tom Hvitved 2d0554a7ee C#: Address review comments 2019-06-03 16:00:22 +02:00
Tom Hvitved f95dd6bb35 Guard tests 2019-06-03 16:00:22 +02:00
Tom Hvitved 25cb01ffea C#: Handle discard variable declarations in switch expressions 2019-06-03 15:50:41 +02:00
Tom Hvitved 8c1cab2d03 C#: Simplify extraction of `is` expressions and `case` statements 2019-06-03 15:50:41 +02:00
Calum Grant 032a6b1c7c
Merge pull request #1375 from hvitved/csharp/switch-expr-guard
C#: Switch expression guards
2019-06-03 11:15:10 +01:00
Calum Grant 5b8c6d4789
Merge pull request #1377 from hvitved/csharp/useless-upcast
C#: Teach `cs/useless-upcast` about disambiguating constructor calls
2019-05-31 06:51:39 +01:00
Calum Grant 59a006e59e
Merge pull request #1368 from hvitved/csharp/cil-nullness
CIL: Account for multiple `VariableUpdate::getSource()`s in nullness analysis
2019-05-29 20:55:08 +01:00
Tom Hvitved 6b99e1a1bf C#: Teach `cs/useless-upcast` about disambiguating constructor calls 2019-05-29 15:16:08 +02:00
Tom Hvitved d8482083b9 C#: Add tests for disambiguated constructor calls 2019-05-29 15:14:30 +02:00