calum
103d140e71
C#: Migrate extractor to this repository.
2018-10-10 14:40:52 +01:00
Tom Hvitved
c064b1f41d
Merge pull request #103 from lukecartey/csharp/zipslip-update
...
C#: ZipSlip - Refine sanitizers
2018-10-10 10:47:23 +02:00
Max Schaefer
2d8f424ce8
C#: Convert tests/query-tests/Stubs/Test.cs to Unix line endings.
2018-10-09 13:01:00 +01:00
semmle-qlci
2a9abcbb8c
Merge pull request #279 from hvitved/csharp/type-conversion-performance
...
Approved by calumgrant
2018-10-09 10:15:53 +01:00
Tom Hvitved
8df657c9f0
Merge pull request #217 from calumgrant/cs/make_stubs
...
C#: Tool to generate stubs for qltests
2018-10-09 09:59:53 +02:00
calum
2fdf766750
C#: Address review comments.
2018-10-08 17:26:30 +01:00
Tom Hvitved
ff2abe0356
C#: Add qldoc to getTypeArgumentRanked()
2018-10-08 13:33:50 +02:00
Tom Hvitved
49644bfb47
Merge remote-tracking branch 'upstream/master' into mergeback-2018-10-08
2018-10-08 11:48:56 +02:00
Tom Hvitved
4ca10986cb
C#: Remove queries.xml from the Metrics folder
2018-10-04 11:13:01 +02:00
Tom Hvitved
19215d0868
C#: Improve performance of type conversion library
2018-10-04 11:00:33 +02:00
Luke Cartey
d34eef82b3
C#: Remove the 'security' tag from some queries
...
These queries are only tenuously security queries, and marking them as
security queries can cause them to have greater prominence than is
merited by the results that they report.
2018-10-03 11:48:27 +01:00
Luke Cartey
1a90f7df2c
C#: ZipSlip - Address review comments.
...
- Add backticks
- Add extra test.
2018-10-03 11:38:48 +01:00
Aditya Sharad
337defdf3d
Merge master into next.
2018-10-01 17:39:27 +01:00
Aditya Sharad
0882eb7bb3
Merge rc/1.18 into master.
2018-10-01 12:08:16 +01:00
Aditya Sharad
1c71a856e1
Version: Bump to 1.18.1 dev.
2018-09-28 16:39:44 +01:00
Aditya Sharad
f5bd737ada
Version: Fix C# and JavaScript Eclipse plugins for 1.18.
2018-09-28 14:10:06 +01:00
Tom Hvitved
e8cd99335a
C#: Simple Boolean control flow graph splitting
2018-09-28 14:59:39 +02:00
Tom Hvitved
d0f63ca303
C#: Introduce SplitKind class
2018-09-28 14:59:39 +02:00
Tom Hvitved
c4a167cb0e
C#: Group cached predicates
2018-09-28 14:59:39 +02:00
Tom Hvitved
05e00ab05b
C#: Fix whitespaces
2018-09-28 14:59:39 +02:00
Tom Hvitved
a48d77f7b8
C#: Add internal PreSsa library
2018-09-28 14:59:38 +02:00
Tom Hvitved
b8caa117f1
C#: Add internal PreBasicBlocks library
2018-09-28 14:59:38 +02:00
Aditya Sharad
51697f077c
Version: Bump to 1.18.0 release.
2018-09-26 18:18:20 +01:00
Anders Schack-Mulligen
9198f5b9bd
CPP/CSharp/Java/Javascript: Use concat in XMLParent.allCharactersString().
2018-09-26 15:47:21 +02:00
Anders Schack-Mulligen
26c1397216
CPP/CSharp/Javascript: Clean up QLDoc and bring the different XML.qll files closer.
2018-09-26 15:36:20 +02:00
Aditya Sharad
75680dbfef
Merge branch 'next' into qlucie/master
2018-09-26 12:08:33 +01:00
Dave Bartolomeo
1f36f5552f
Normalize all text files to LF
...
Use `* text=auto eol=lf`
2018-09-23 16:24:31 -07:00
Dave Bartolomeo
26abf5d4a2
Force LF for basically everything.
2018-09-23 16:24:31 -07:00
calum
abe5d0dd72
C#: Fixes to stub generation.
2018-09-21 13:06:33 +01:00
calum
593f0a9d71
C#: Implement query and script for generating C# qltest stubs.
2018-09-20 15:01:26 +01:00
Jonas Jensen
9886e4a056
Merge remote-tracking branch 'upstream/master' into merge-master-next-20180913
2018-09-13 20:28:17 +02:00
Aditya Sharad
767045b55d
Merge rc/1.18 into next.
2018-09-12 14:59:54 +01:00
Tom Hvitved
70e713122f
Merge branch 'rc/1.18' into merge-rc
2018-09-11 09:11:03 +02:00
calum
ecb3efba34
C#: Fix merge conflicts.
2018-09-07 18:12:28 +01:00
calum
9ec2172dca
C#: Fix CFG for unknown expressions, and add a test that also covers object initializer lists fixed by the extractor.
2018-09-07 17:56:44 +01:00
calum
58cf95b155
C#: Rewrite not using if.
2018-09-07 11:37:05 +01:00
calum
0cd4340ac3
C#: Address review comment: refactor last() predicate for ConstCase and TypeCase.
2018-09-07 10:15:16 +01:00
Tom Hvitved
04f29951a5
Merge pull request #98 from calumgrant/cs/literal-conversion-fix
...
C#: Regression test for extractor
2018-09-07 08:42:00 +02:00
calum
d5eacf8c13
C#: Change expected output. Address review comments.
2018-09-06 18:20:01 +01:00
calum
3718237acc
C#: Implement CFG for ConstCase statements with a condition.
2018-09-05 18:15:47 +01:00
calum
cff00506ba
C#: Implementation of case ... when ...: which was not previously handled. Move getCondition to CaseStmt. Implement the CFG and tests.
2018-09-05 17:47:31 +01:00
calum
8c2d773866
C#: Extractor test for join ... into
2018-09-05 17:19:04 +01:00
calum
7a77740979
C#: Extractor tests for
...
- While statements
- Object initializers
2018-09-05 17:19:04 +01:00
Aditya Sharad
f27945216f
Merge rc/1.18 into master.
2018-09-05 15:32:30 +01:00
Aditya Sharad
cbdbda3723
Merge rc/1.18 into next.
2018-09-05 14:09:06 +01:00
Tom Hvitved
42faabc552
C#: Rename and restructure control flow graph entities
...
Follow a naming structure similar to the data flow library:
- `ControlFlowNode` -> `ControlFlow::Node`.
- `CallableEntryNode` -> `ControlFlow::Nodes::EntryNode`.
- `CallableExitNode` -> `ControlFlow::Nodes::ExitNode`.
- `ControlFlowEdgeType` -> `ControlFlow::SuccessorType`.
- `ControlFlowEdgeSuccessor` -> `ControlFlow::SuccessorTypes::NormalSuccessor`.
- `ControlFlowEdgeConditional -> ControlFlow::SuccessorTypes::ConditionalSuccessor`.
- `ControlFlowEdgeBoolean` -> `ControlFlow::SuccessorTypes::BooleanSuccessor`.
- `ControlFlowEdgeNullness` -> `ControlFlow::SuccessorTypes::NullnessSuccessor`.
- `ControlFlowEdgeMatching` -> `ControlFlow::SuccessorTypes::MatchingSuccessor`.
- `ControlFlowEdgeEmptiness` -> `ControlFlow::SuccessorTypes::EmptinessSuccessor`.
- `ControlFlowEdgeReturn` -> `ControlFlow::SuccessorTypes::ReturnSuccessor`.
- `ControlFlowEdgeBreak` -> `ControlFlow::SuccessorTypes::BreakSuccessor`.
- `ControlFlowEdgeContinue` -> `ControlFlow::SuccessorTypes::ContinueSuccessor`.
- `ControlFlowEdgeGotoLabel` -> `ControlFlow::SuccessorTypes::GotoLabelSuccessor`.
- `ControlFlowEdgeGotoCase` -> `ControlFlow::SuccessorTypes::GotoCaseSuccessor`.
- `ControlFlowEdgeGotoDefault` -> `ControlFlow::SuccessorTypes::GotoDefaultSuccessor`.
- `ControlFlowEdgeException` -> `ControlFlow::SuccessorTypes::ExceptionSuccessor`
2018-09-05 14:20:26 +02:00
calumgrant
8263b248b7
Merge pull request #152 from hvitved/csharp/base-ssa
...
C#: Fix bug in BaseSsa library
2018-09-05 13:02:56 +01:00
semmle-qlci
6c1098d170
Merge pull request #120 from hvitved/csharp/query/useless-upcast
...
Approved by calumgrant
2018-09-05 08:39:25 +01:00
Tom Hvitved
124a00ba10
C#: Update expected output in SSA tests
2018-09-04 20:15:33 +02:00
Aditya Sharad
ab2bec743a
Revert "Version: Bump to 1.19.0 dev."
...
The version bump should now go into the `next` branch rather than `master`.
This reverts commit 2363f49e3a .
2018-09-04 16:01:09 +01:00