GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — codeql/cpp/change-notes/2020-09-29-range-analysis-rollup.md at main · optionalg/codeql

Expand file tree

/

2020-09-29-range-analysis-rollup.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
14 lines (14 loc) · 802 Bytes
/

2020-09-29-range-analysis-rollup.md

Copy path

File metadata and controls

14 lines (14 loc) · 802 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions

lgtm,codescanning

  • The SimpleRangeAnalysis library has gained support for several language constructs it did not support previously. These improvements primarily affect the queries cpp/constant-comparison, cpp/comparison-with-wider-type, and cpp/integer-multiplication-cast-to-long. The newly supported language features are:
    • Multiplication of unsigned numbers.
    • Multiplication by a constant.
    • Reference-typed function parameters.
    • Comparing a variable not equal to an endpoint of its range, thus narrowing the range by one.
    • Using if (x) or if (!x) or similar to test for equality to zero.
  • The SimpleRangeAnalysis library can now be extended with custom rules. See examples in cpp/ql/src/experimental/semmle/code/cpp/rangeanalysis/extensions/.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.