Pavel Avgustinov
42cf76027a
Merge branch 'cs/assembly-labels' of https://github.com/calumgrant/ql into HEAD
2019-01-04 18:23:49 +00:00
calum
651d207d0d
C#: Fix assembly labels.
2019-01-04 16:19:43 +00:00
Max Schaefer
b4f400fb23
Merge remote-tracking branch 'upstream/next' into qlucie/master
2019-01-04 10:35:57 +00:00
Tom Hvitved
c962f55cd0
C#: Address review comments
2019-01-04 11:32:23 +01:00
Tom Hvitved
412248c77f
C#: Address review comments
2019-01-02 10:42:08 +01:00
calum
0fe0544769
C#: Fix extraction error when Event accessors are ordinary methods.
2018-12-31 14:20:47 +00:00
calum
6267946768
C#: Revert breaking change
2018-12-21 14:39:01 +00:00
calum
d73b28efe4
C#: Address review comments.
...
Add more tests for duplicated entities, and fix some duplicated entities.
Update the TupleTypes output - some extraneous results gone so it's probably better.
2018-12-20 20:23:12 +00:00
calum
f5cfd93d8d
C#: Use pattern matching.
2018-12-20 14:38:49 +00:00
Tom Hvitved
9f375de716
C#: Improve logic for looking up .NET runtime in standalone mode
...
Instead of only considering a fixed set of paths for `dotnet` and `mono`,
first attempt to lookup the paths based on the `PATH` environment variable.
This change also fixes a potential `System.IO.DirectoryNotFoundException` exception,
which could be thrown when the `shared/Microsoft.NETCore.App` folder was not
present.
2018-12-20 15:34:15 +01:00
calum
d687dd9deb
C#: Address review comments. Replace GetHashValue() with MetadataTokens.GetToken().
...
C#: Make path IDs consistent.
2018-12-20 13:02:25 +00:00
calum
fb8895bdc7
C#: Extract metadata handle information.
2018-12-19 15:22:53 +00:00
calum
93ce34ad58
C#: Add a new object->entity cache.
2018-12-19 10:40:07 +00:00
calum
88734f1f8a
C#: Fix label conflicts.
...
C#: Remove unnecessary code from Property.
2018-12-19 10:40:07 +00:00
calum
a7cdf528dd
C#: Improve performance by mapping directly from entities to labels.
2018-12-19 10:40:06 +00:00
Tom Hvitved
e14259126e
Merge pull request #658 from calumgrant/cs/extractor/for-is
...
C#: Fix extraction bug for variable declarations in for condition
2018-12-17 16:16:00 +01:00
calumgrant
f50d0e373a
Merge pull request #642 from hvitved/csharp/extractor/nullness-refactorings
...
C#: nullness related extractor refactorings
2018-12-17 14:16:51 +00:00
Tom Hvitved
5f269b2d87
Merge branch 'master' into cs/extractor/for-is
2018-12-17 11:14:50 +01:00
Tom Hvitved
654f2ae290
C#: Address review comment
2018-12-14 10:38:34 +00:00
calum
9fba643fb0
C#: Address review comments.
2018-12-13 13:53:58 +00:00
calum
2bbd55519b
C#: Add tests for C# 7.3 features.
2018-12-12 16:44:55 +00:00
calum
1df1b0c28e
C#: Refactor ArrayCreations to allow stackalloc arrays to have initializers (C# 7.3).
2018-12-12 11:05:34 +00:00
Tom Hvitved
e80837681f
C#: Refactor LINQ logic
...
Factor `ClauseCall` out into three classes to make it clear when the fields
`operand` and `declaration` can be `null`.
2018-12-11 16:04:25 +01:00
calum
8d072863df
C#: Reorder for statements to ensure variables declared in the condition are declared before they are used.
2018-12-11 10:31:45 +00:00
Tom Hvitved
6411d1c7dd
C#: Refactor operator call logic
...
Refactored to make it clear when `@operator.Symbol as IMethodSymbol` can be `null`.
2018-12-07 15:47:20 +01:00
Tom Hvitved
e05bbb0f10
C#: Fix always-null bug in TRAP writer
2018-12-07 15:46:27 +01:00
Tom Hvitved
41edd61e2e
Merge pull request #545 from calumgrant/cs/typemention-constraints
...
C#: Fix for type mentions of type parameter constraints
2018-11-27 14:25:48 +01:00
Tom Hvitved
e069041bd5
Merge pull request #431 from calumgrant/cs/extractor/fsharp-core
...
C#: Fix extraction of method signatures
2018-11-26 15:07:33 +01:00
calum
de36151c4a
C#: Add regression test and fix for type mentions of type parameter constraints.
2018-11-26 13:51:02 +00:00
calum
b67bc7b612
C#: Fix id generation of constructed methods, by avoid id clashes by ensuring that method type parameters are qualified where necessary. Add a qltest.
2018-11-23 12:11:10 +00:00
calum
e00807d66b
C#: Fix decoding method type parameters in FSharp.Core.
2018-11-23 12:09:52 +00:00
Tom Hvitved
b95d7e5302
C#: Move autobuilder into separate folder
2018-11-23 09:32:12 +01:00
calum
090e896ff5
C#: Change Property TagStackBehaviour to push a tag, to give the expression body a tag stack.
2018-11-15 18:28:17 +00:00
calum
bb49fe170b
C# extractor: Handle the type name of dynamic.
2018-11-15 18:27:53 +00:00
calum
a5d50fc1db
C#: Handle in arguments, and add AssignableAccess::isInArgument() predicate.
2018-11-13 10:58:43 +00:00
Tom Hvitved
dd6fd400aa
Merge pull request #335 from calumgrant/cs/cwe-937
...
C#: New query VulnerablePackage
2018-11-12 10:34:53 +01:00
calum
789e2fcf6d
C#: Fix an ArgumentNullException.
2018-11-08 10:39:38 +00:00
Tom Hvitved
48634d4c9a
Merge pull request #391 from calumgrant/cs/extractor/dump-args
...
C#: Reduce extractor log size
2018-11-07 11:17:21 +01:00
calum
7494bd66a4
C#: Address review comment.
2018-10-31 14:22:19 +00:00
calum
8bea6fa7c9
C#: Unit tests.
2018-10-31 12:01:43 +00:00
calum
681953ae70
C#: Reduce logging output and write arguments to separate files. Fix missing response file.
2018-10-31 11:56:47 +00:00
calum
68194b4474
C#: Fix typo again.
2018-10-26 13:10:16 +01:00
calum
448b080d4f
C#: Fix typos.
2018-10-25 13:45:46 +01:00
calum
5c0b9867f8
C#: Fix violations for cs/local-shadows-member
2018-10-24 17:36:51 +01:00
Tom Hvitved
a3fafd9ad1
C#: Remove global.json
2018-10-23 11:51:27 +02:00
calum
6e96fba7f6
C#: Address review comments: Merge XML index commands.
2018-10-19 16:14:35 +01:00
Tom Hvitved
826d15e6c1
C#: Address review comments
2018-10-19 10:42:13 +02:00
calum
ff3ed2db18
C#: Autobuilder extracts XML for .csproj and .props files.
2018-10-18 10:24:20 +01:00
Tom Hvitved
976e5ed80f
C#: Pass --compiler flag to extractor on Linux
2018-10-17 10:25:53 +02:00
Tom Hvitved
8158d456f3
C#: Use hashing to detect duplicate trap files
2018-10-17 10:25:05 +02:00