Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rust: Make rust/summary/query-sinks less noisy#20042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
geoffw0 merged 1 commit intogithub:mainfromgeoffw0:sinknoise
Jul 16, 2025

Conversation

geoffw0
Copy link
Contributor

Makerust/summary/query-sinks less noisy. This is the one used in the DCA meta queries output, and occasionally used ad-hoc to get a feel for a database - but it isnot used in metrics (the counts produced byrust/summary/query-sink-counts andrust/summary/summary-statistics are not affected by this change). Currently for both uses results for this query are typically clogged with dereference and logging sinks, which obscures and in the case of the DCA meta queries output can completely hide other more interesting results.

…This is the one in the DCA meta queries output, not the grand total used in metrics.
@CopilotCopilotAI review requested due to automatic review settingsJuly 14, 2025 16:34
@geoffw0geoffw0 requested a review froma team as acode ownerJuly 14, 2025 16:34
@geoffw0geoffw0 added no-change-note-requiredThis PR does not need a change note RustPull requests that update Rust code labelsJul 14, 2025
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reduces noise in therust/summary/query-sinks query by filtering out ubiquitous sink types that typically clutter the results. The query is used in DCA meta queries output and for ad-hoc database analysis, where dereference and logging sinks often obscure more interesting security-relevant findings.

  • Filters outAccessInvalidPointer::Sink andCleartextLogging::Sink from query results
  • Updates documentation to reflect the filtering of ubiquitous sink types
  • Adds necessary imports for the filtered sink types

Copy link
Contributor

@paldepindpaldepind left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@geoffw0geoffw0 merged commitd264fb5 intogithub:mainJul 16, 2025
22 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@paldepindpaldepindpaldepind approved these changes

Assignees
No one assigned
Labels
no-change-note-requiredThis PR does not need a change noteRustPull requests that update Rust code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@geoffw0@paldepind

[8]ページ先頭

©2009-2025 Movatter.jp