Skip to content

Conversation

@igfoo
Copy link
Member

@igfoo igfoo commented Apr 24, 2025

This PR introduces checks for the absence of build-mode-none in

  • cpp/wrong-type-format-argument
  • cpp/comparison-with-wider-type
  • cpp/integer-multiplication-cast-to-long
  • cpp/implicit-function-declaration
  • cpp/suspicious-add-sizeof

Adds a check for the absence of build-mode-none in
    cpp/wrong-type-format-argument
    cpp/comparison-with-wider-type
    cpp/integer-multiplication-cast-to-long
    cpp/implicit-function-declaration
    cpp/suspicious-add-sizeof
@github-actions github-actions bot added the C++ label Apr 24, 2025
@igfoo igfoo marked this pull request as ready for review April 24, 2025 15:44
Copilot AI review requested due to automatic review settings April 24, 2025 15:44
@igfoo igfoo requested a review from a team as a code owner April 24, 2025 15:44
Copy link
Contributor

Copilot AI left a comment

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 (5)
  • cpp/ql/src/Likely Bugs/Arithmetic/IntMultToLong.ql: Language not supported
  • cpp/ql/src/Likely Bugs/Format/WrongTypeFormatArguments.ql: Language not supported
  • cpp/ql/src/Likely Bugs/Underspecified Functions/ImplicitFunctionDeclaration.ql: Language not supported
  • cpp/ql/src/Security/CWE/CWE-190/ComparisonWithWiderType.ql: Language not supported
  • cpp/ql/src/Security/CWE/CWE-468/SuspiciousAddWithSizeof.ql: Language not supported

@igfoo igfoo added the no-change-note-required This PR does not need a change note label Apr 24, 2025
@igfoo igfoo requested a review from esteffin April 24, 2025 15:45
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

This LGTM. I would like to see the results of a traced DCA experiment, just to be sure this doesn't mess things up wrt to join-orders there. Happy to start one. Started.

@igfoo igfoo changed the title C++: Add checks for build mode in various queries C++: Add exception for build-mode-none in various queries Apr 24, 2025
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

DCA LGTM.

@igfoo igfoo merged commit f9172ff into github:main Apr 24, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants