Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: chrchr-github/cppcheck
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: cppcheck-opensource/cppcheck
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 19 commits
  • 52 files changed
  • 6 contributors

Commits on Apr 25, 2026

  1. Add test for #14509 (cppcheck-opensource#8480)

    This was fixed by b599bb4.
    ludviggunne authored Apr 25, 2026
    Configuration menu
    Copy the full SHA
    6d28ccf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    034ad1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9d9729 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf3f0fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    58cbb33 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92d9735 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bafada0 View commit details
    Browse the repository at this point in the history
  8. Fix #14369: Move boolean literal evaluation to valueFlowSetConstantVa…

    …lue (cppcheck-opensource#8468)
    
    Previously, boolean literals were processed in a separate loop after
    valueFlowSetConstantValue. This triggered nullPointer FP with code such
    as:
    
    int f() {
        const int* p = true ? new int() : nullptr;
        return *p; // nullPointer FP
    }
    
    Because the condition token had no known value, both branches of the
    ternary operator were treated as possible, leaking a spurious null
    value.
    
    ---------
    
    Signed-off-by: Francois Berder <fberder@outlook.fr>
    francois-berder authored Apr 25, 2026
    Configuration menu
    Copy the full SHA
    4e0a568 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    950567e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3c377a9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d4c5222 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2026

  1. Configuration menu
    Copy the full SHA
    02a7c33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e6f628 View commit details
    Browse the repository at this point in the history
  3. refs #14599 - added OneShotTimer / moved some ShowTime logic out …

    …of `Timer` / added more `--showtime` tests (cppcheck-opensource#8435)
    firewave authored Apr 26, 2026
    Configuration menu
    Copy the full SHA
    f59b0c9 View commit details
    Browse the repository at this point in the history
  4. refs #10543 - config.h: removed platform checks in favor of `HAVE_EXE…

    …CINFO_H` / added `__has_include()` as fallback (cppcheck-opensource#8489)
    firewave authored Apr 26, 2026
    Configuration menu
    Copy the full SHA
    c5e0a3d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0294253 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a374143 View commit details
    Browse the repository at this point in the history
  7. Refs cppcheck-opensource#4412: using namespace std; not simplified (c…

    …onstructor) (cppcheck-opensource#8477)
    
    Co-authored-by: chrchr-github <noreply@github.com>
    chrchr-github and web-flow authored Apr 26, 2026
    Configuration menu
    Copy the full SHA
    6fa5b6b View commit details
    Browse the repository at this point in the history
  8. Fix cppcheck-opensource#6492 valueflow: for loop condition not used f…

    …or conditional analysis (cppcheck-opensource#8472)
    
    To be merged after cppcheck-opensource#8471.
    Ignoring the debug messages since the line numbers were flaky.
    
    ---------
    
    Co-authored-by: chrchr-github <noreply@github.com>
    chrchr-github and web-flow authored Apr 26, 2026
    Configuration menu
    Copy the full SHA
    aec1a7f View commit details
    Browse the repository at this point in the history
Loading