-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C#: Generate data extension files #10777
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
C#: Generate data extension files #10777
Conversation
5e8692d
to
734a98b
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
734a98b
to
56bb249
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
c4872aa
to
54bd84c
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
54bd84c
to
b3f1979
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
8ce33c9
to
516d4e7
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
516d4e7
to
accdd98
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
dde65df
to
7f773ac
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
10db0c2
to
b6f5888
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
cc: @cklin, In previous runs, the C# Language Tests job failed with OOME almost certainly due to 50k tuples from data extensions. We need to think of some ways of being more memory efficient when we read in the tuples. |
0c9965e
to
3c8fb05
Compare
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
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.
Approach LGTM, and great work on converting all existing flow summaries from .qll
to .yml
.
private import semmle.code.csharp.frameworks.system.threading.Tasks | ||
private import semmle.code.csharp.frameworks.system.runtime.CompilerServices |
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.
This files only had code deleted, so why is this needed now and not before (perhaps it was)?
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.
This is to ensure the bi-directional import for synthetic fields - this is implicitly handled by the bi-directional import in the Frameworks module in ExternalFlow.qll
.
It turns out that the massive gordian knot that is the Frameworks module in ExternalFlow can't just be deleted (this needs to be a follow up, if we want to do that). I have document the this on: https://github.com/github/codeql-csharp-team/issues/298
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.
Added an import for a similar reason in TaintTrackingPrivate.qll
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Click to show differences in coveragecsharpGenerated file changes for csharp
- System,"``System.*``, ``System``",4,12131,65,7
+ System,"``System.*``, ``System``",4,12142,65,7
- Totals,,4,12694,397,7
+ Totals,,4,12705,397,7
- System,65,4,12131,,8,8,9,,4,,33,3,1,3,10139,1992
+ System,65,4,12142,,8,8,9,,4,,33,3,1,3,10151,1991 |
Merge commit: 9c6875e
Merge commit: 9c6875e
Merge commit: 9c6875e
Merge commit: 9c6875e
The purpose of this PR is to use data extensions for MaD models instead of inlining them in the Code QL source code for C#.
To that end we
ExternalFlow.qll
.Before making any changes the generated .NET runtime models were refreshed as a part of this PR.