Dataflow: Record content types#2
Merged
hvitved merged 5 commits intoJun 17, 2020
Merged
Conversation
hvitved
requested changes
Jun 17, 2020
| ) { | ||
| readStep(n1, c, n2) and | ||
| container = getErasedRepr(n1.getTypeBound()) and | ||
| content = getErasedRepr(n2.getTypeBound()) |
Owner
There was a problem hiding this comment.
Might as well use getErasedNodeTypeBound() in both lines.
|
|
||
| Content getContent() { this = TReadStepTypesSome(_, result, _) } | ||
|
|
||
| DataFlowType getType() { this = TReadStepTypesSome(_, _, result) } |
hvitved
pushed a commit
that referenced
this pull request
Jul 28, 2020
Java: Fix qltests for github#3653
hvitved
pushed a commit
that referenced
this pull request
Oct 27, 2020
…efinition Python: Add test for tricky module member for type-tracking
hvitved
pushed a commit
that referenced
this pull request
Jun 28, 2021
hvitved
added a commit
that referenced
this pull request
Nov 23, 2021
This is in order to avoid name clash with the often so-named IPA type for data- flow nodes. The name clash is not problematic because they are both in scope, but because (cached) IPA types with overlapping names are known to sometimes result in re-evaluation of cached stages, when one of the IPA types gets an internal `#2` suffix in one query run, and the other IPA type gets the suffix in another run.
hvitved
added a commit
that referenced
this pull request
Oct 9, 2022
DIL before
```
/* AST::AstNode */ AST#87953007::Cached::TAstNode result) =
fastTC(AST#a6718388::AstNode::getAChild#0#dispred#ff/2)
.
Synthesis#d9ff06b1::isInDesugaredContext#1#f(/* AST::AstNode */ unique AST#87953007::Cached::TAstNode n)
:-
exists(int arg1, /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, n)
);
exists(/* AST::AstNode */ AST#87953007::Cached::TAstNode call_result#2 |
exists(int arg1,
/* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, call_result#2)
),
#AST#a6718388::AstNode::getAChild#0#dispredPlus#ff(call_result#2, n)
)
.
```
DIL after
```
incremental
Synthesis#d9ff06b1::isInDesugaredContext#1#f(/* AST::AstNode */ unique AST#87953007::Cached::TAstNode n)
:-
exists(int arg1, /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, n)
);
exists(/* AST::AstNode */ AST#87953007::Cached::TAstNode any#expr##2 |
rec Synthesis#d9ff06b1::isInDesugaredContext#1#f(any#expr##2),
exists(cached dontcare string _ |
AST#a6718388::AstNode::getAChild#1#dispred(any#expr##2, _, n)
)
)
| [base_case]
exists(int arg1, /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, n)
)
| [delta_order]
exists(/* AST::AstNode */ AST#87953007::Cached::TAstNode any#expr##2 |
delta previous rec Synthesis#d9ff06b1::isInDesugaredContext#1#f(any#expr##2),
project#AST#a6718388::AstNode::getAChild#1#dispred(any#expr##2, n)
),
not(previous rec Synthesis#d9ff06b1::isInDesugaredContext#1#f(n))
.
``
hvitved
pushed a commit
that referenced
this pull request
Aug 3, 2023
…for-unused-parameters-2 Go: make `ParameterNode`s for unused parameters #2 (make a disjoint class for unused ones)
hvitved
pushed a commit
that referenced
this pull request
Sep 11, 2024
C++: Fix zstd and clean up test
hvitved
pushed a commit
that referenced
this pull request
Dec 20, 2024
Refactor CfgScopes and Ast predicate names
hvitved
pushed a commit
that referenced
this pull request
Mar 26, 2025
Go: Add database source models for the github.com/couchbase/gocb package (#2)
hvitved
pushed a commit
that referenced
this pull request
Mar 28, 2025
Go: Add `database` source models for the `squirrel` package (#2)
hvitved
pushed a commit
that referenced
this pull request
Apr 30, 2025
JS: Add isMiddlewareSetup() hook to Routing model
hvitved
pushed a commit
that referenced
this pull request
May 13, 2025
Implement first stage cryptography modelling and queries
hvitved
pushed a commit
that referenced
this pull request
May 23, 2025
Java: Fix SpringRequestMappingMethod URL Extraction #2
hvitved
pushed a commit
that referenced
this pull request
Jun 4, 2025
…ction-sink Go: Add BigQuery as a sink for SQLi queries #2
hvitved
pushed a commit
that referenced
this pull request
Jun 12, 2025
Set CWE-134 from 9.3 to 7.3 CVSS score for memory safe languages (#2)
hvitved
pushed a commit
that referenced
this pull request
Oct 4, 2025
Signature model refactor experimental
hvitved
pushed a commit
that referenced
this pull request
Nov 7, 2025
…8e3d-0895-49ec-9025-a9864c8e5367 Fix generate-code-scanning-query-list.py to handle empty code-quality-extended suites
hvitved
pushed a commit
that referenced
this pull request
Dec 1, 2025
hvitved
pushed a commit
that referenced
this pull request
Jun 7, 2026
…ainer-steps Python: Remove imprecise container steps #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When removing content types from the language-specific interface we need to track both container types and content types in store steps.