Skip to content

Rust: Add a few more data flow test cases for format#22216

Open
geoffw0 wants to merge 2 commits into
github:mainfrom
geoffw0:format
Open

Rust: Add a few more data flow test cases for format#22216
geoffw0 wants to merge 2 commits into
github:mainfrom
geoffw0:format

Conversation

@geoffw0

@geoffw0 geoffw0 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Add a few more data flow test cases for std::fmt::format and alloc::fmt::format (which is being discussed elsewhere).

Copilot AI review requested due to automatic review settings July 21, 2026 08:09
@geoffw0
geoffw0 requested a review from a team as a code owner July 21, 2026 08:09
@geoffw0 geoffw0 added no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code labels Jul 21, 2026

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.

Pull request overview

Adds Rust taint-flow coverage for fully qualified std::fmt::format and alloc::fmt::format calls.

Changes:

  • Adds test cases for both qualified format functions.
  • Updates the generated expected data-flow results.
Show a summary per file
File Description
rust/ql/test/library-tests/dataflow/strings/main.rs Adds the new format taint-flow cases.
rust/ql/test/library-tests/dataflow/strings/inline-taint-flow.expected Records the updated expected results.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants