FlowSummaryImpl: Model more source/sink steps as jump steps - #22470
Open
hvitved wants to merge 2 commits into
Open
FlowSummaryImpl: Model more source/sink steps as jump steps#22470hvitved wants to merge 2 commits into
hvitved wants to merge 2 commits into
Conversation
hvitved
force-pushed
the
flow-summary-source-sink-jump-step
branch
from
August 31, 2026 14:08
001b6cd to
4144ee0
Compare
hvitved
force-pushed
the
flow-summary-source-sink-jump-step
branch
from
September 1, 2026 07:29
4144ee0 to
c0610f0
Compare
hvitved
force-pushed
the
flow-summary-source-sink-jump-step
branch
from
September 1, 2026 08:27
c0610f0 to
78dce11
Compare
hvitved
marked this pull request as ready for review
September 1, 2026 11:37
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The unrelated Windows CI-status filtering should be reverted, separated, or documented.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
misc/scripts/accept-expected-changes-from-ci.py — This changes contributor tooling outside the PR's stated flow-summary scope: Windows language-test… |
What changed in this PR
Refines flow-summary path graphs so callback and parameter nodes remain visible.
Changes:
- Reclassifies source/sink boundary steps as jump steps where appropriate.
- Updates Rust and C++ path expectations.
- Modifies CI expected-output tooling, including Windows status filtering.
| File | Description |
|---|---|
shared/dataflow/codeql/dataflow/internal/FlowSummaryImpl.qll |
Refines source/sink step classification. |
rust/ql/test/query-tests/security/CWE-918/RequestForgery.expected |
Updates request-forgery paths. |
rust/ql/test/query-tests/security/CWE-117/LogInjection.expected |
Updates log-injection paths. |
rust/ql/test/query-tests/security/CWE-079/warp/XSS.expected |
Updates Warp XSS paths. |
rust/ql/test/query-tests/security/CWE-079/axum/XSS.expected |
Updates Axum XSS paths. |
rust/ql/test/query-tests/security/CWE-079/actix/XSS.expected |
Updates Actix XSS paths. |
rust/ql/test/library-tests/dataflow/sources/web_frameworks/InlineFlow.expected |
Records intermediate web-framework nodes. |
rust/ql/test/library-tests/dataflow/sources/database/InlineFlow.expected |
Records intermediate database callback nodes. |
rust/ql/test/library-tests/dataflow/models/models.expected |
Updates modeled-flow paths. |
misc/scripts/accept-expected-changes-from-ci.py |
Changes log retrieval and Windows filtering. |
cpp/ql/test/library-tests/dataflow/external-models/flow.expected |
Updates external-model paths. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| lang_test_failures: List[GithubStatus] = list() | ||
| for status in newest_status.values(): | ||
| if " Language Tests" in status.context or status.context in supported_internal_status_language_test_names: | ||
| if " Language Tests" in status.context and not " Language Tests Windows" in status.context or status.context in supported_internal_status_language_test_names: |
hvitved
force-pushed
the
flow-summary-source-sink-jump-step
branch
from
September 1, 2026 14:06
78dce11 to
d64ad79
Compare
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.

Modeling more source/sink steps as jump steps instead of local steps means that we avoid skipping over nodes that we would like to see in the path graph. For example, in
we would previously get a direct edge
C -> B, but now we instead get two edgesC -> AandA -> B.