Skip to content

Conversation

@yoff
Copy link
Contributor

@yoff yoff commented Nov 15, 2024

During a hackathon, I was experimenting with the Java range analysis. It was a bit annoying to not have locations on the nodes so I add them here.

I ran DCA for the two languages affected (the _CPP experiment is for C). I just chose nightly for both source suite and query suite for both languages, please let me know if that was not appropriate (in particular if that does not exercise the range analysis or only does it so little that any adverse effect would be lost in noise).

I believe this does not warrant a change note.

  • Changes are validated at scale (internal access required).

@github-actions github-actions bot added the Java label Nov 15, 2024
@github-actions github-actions bot added the C++ label Nov 15, 2024
@yoff yoff added the no-change-note-required This PR does not need a change note label Jan 8, 2025
@yoff yoff marked this pull request as ready for review January 8, 2025 11:45
Copilot AI review requested due to automatic review settings January 8, 2025 11:45
@yoff yoff requested review from a team as code owners January 8, 2025 11:45
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 (11)
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/SemanticExpr.qll: Language not supported
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis/FloatDelta.qll: Language not supported
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis/RangeAnalysisConstantSpecific.qll: Language not supported
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis/RangeAnalysisImpl.qll: Language not supported
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis/RangeAnalysisRelativeSpecific.qll: Language not supported
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis/SignAnalysisCommon.qll: Language not supported
  • java/ql/lib/semmle/code/java/dataflow/RangeAnalysis.qll: Language not supported
  • java/ql/lib/semmle/code/java/dataflow/RangeUtils.qll: Language not supported
  • shared/rangeanalysis/codeql/rangeanalysis/ModulusAnalysis.qll: Language not supported
  • shared/rangeanalysis/codeql/rangeanalysis/RangeAnalysis.qll: Language not supported
  • shared/rangeanalysis/codeql/rangeanalysis/internal/RangeUtils.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

@jketema
Copy link
Contributor

jketema commented Jan 8, 2025

For C++, the nightly query suite is mostly good. Could you also run with the memory-corruption-queries suite? That contains an additional query that uses the library, but is not included in nightly.

Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

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

LGTM

@yoff
Copy link
Contributor Author

yoff commented Jan 8, 2025

DCA for C failed, I have started a new one after merging in main...

@jketema
Copy link
Contributor

jketema commented Jan 8, 2025

Note that I'd like to see results for the nightly and memory-corruption-queries suites.

@yoff yoff merged commit b263132 into github:main Jan 9, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ Java 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.

3 participants