Skip to content

Rust: Add another disjunct to postWithInFlowExclude - #19195

Merged
hvitved merged 1 commit into
github:mainfrom
hvitved:rust/post-with-flow-in-exclude
Apr 4, 2025
Merged

Rust: Add another disjunct to postWithInFlowExclude#19195
hvitved merged 1 commit into
github:mainfrom
hvitved:rust/post-with-flow-in-exclude

Conversation

@hvitved

@hvitved hvitved commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the Rust Pull requests that update Rust code label Apr 2, 2025
@hvitved
hvitved marked this pull request as ready for review April 2, 2025 12:01
Copilot AI review requested due to automatic review settings April 2, 2025 12:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • rust/ql/lib/codeql/rust/dataflow/internal/DataFlowConsistency.qll: Language not supported

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@hvitved
hvitved requested a review from geoffw0 April 2, 2025 17:16
or
n.(Node::PostUpdateNode).getPreUpdateNode().asExpr() = getPostUpdateReverseStep(_, _)
or
FlowSummaryImpl::Private::Steps::sourceLocalStep(_, n, _)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do? Why doesn't it affect any tests? Would any changes show up in a DCA run?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It affects the tests in your PR. DCA will report fewer data flow inconsistencies, but it is hardly worth spending CPU cycles on that.

@geoffw0 geoffw0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed - it works. :)

@hvitved
hvitved merged commit ffca52e into github:main Apr 4, 2025
@hvitved
hvitved deleted the rust/post-with-flow-in-exclude branch April 4, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants