Skip to content

C++: mass enable diff-informed data flow - #18342

Draft
asgerf wants to merge 1 commit into
github:mainfrom
asgerf:cpp/diff-informed
Draft

C++: mass enable diff-informed data flow#18342
asgerf wants to merge 1 commit into
github:mainfrom
asgerf:cpp/diff-informed

Conversation

@asgerf

Copy link
Copy Markdown
Contributor

The first commit is an auto-generated patch that enables diff-informed data flow in the obvious cases, and inserts a TODO comment in the non-obvious cases. Later commits fix up the TODOs.

node = any(DataFlow::SsaPhiNode phi).getAnInput(true)
}

predicate observeDiffInformedIncrementalMode() {

Check warning

Code scanning / CodeQL

Dead code

This code is never used, and it's not publicly exported.
)
}

predicate observeDiffInformedIncrementalMode() {

Check warning

Code scanning / CodeQL

Dead code

This code is never used, and it's not publicly exported.
Comment threadcpp/ql/src/experimental/Likely Bugs/ArrayAccessProductFlow.ql Fixed
)
}

predicate observeDiffInformedIncrementalMode() {

Check warning

Code scanning / CodeQL

Dead code

This code is never used, and it's not publicly exported.
d10c added a commit to d10c/codeql that referenced this pull request Jun 3, 2025
An auto-generated patch that enables diff-informed data flow in the obvious cases.
Builds on github#18342 and github/codeql-patch#88
d10c added a commit to d10c/codeql that referenced this pull request Jun 11, 2025
An auto-generated patch that enables diff-informed data flow in the obvious cases.
Builds on github#18342 and github/codeql-patch#88
d10c added a commit to d10c/codeql that referenced this pull request Jun 13, 2025
An auto-generated patch that enables diff-informed data flow in the obvious cases.
Builds on github#18342 and github/codeql-patch#88
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@asgerf@github-advanced-security