René's URL Explorer Experiment


Title: Fix #14416 FP knownConditionTrueFalse for function taking const pointer to const by chrchr-github · Pull Request #8140 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #14416 FP knownConditionTrueFalse for function taking const pointer to const by chrchr-github · Pull Request #8140 · cppcheck-opensource/cppcheck

X Title: Fix #14416 FP knownConditionTrueFalse for function taking const pointer to const by chrchr-github · Pull Request #8140 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/8140

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:d55a59e3-d5d2-8e7a-bc9d-b729ca577afa
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idCB02:2283C9:30D6C5:442A86:6A4DF4C3
html-safe-noncea96ea4993f80b46d804323b23770e9d3aa3171daf8484b9a10c91e7da1ec2eaf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjAyOjIyODNDOTozMEQ2QzU6NDQyQTg2OjZBNERGNEMzIiwidmlzaXRvcl9pZCI6IjMwNDIxMDUwNjk1ODk2MjQwMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0a31ae7d0bd317bf089f9ada77bbddcb2be42078a4a0bfd17f155663f6d6ceb2
hovercard-subject-tagpull_request:3191891578
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
twitter:imagehttps://opengraph.githubassets.com/526d70ab2323783a849916d2295371b171ed43b5d2820580e9d0e393e05d9658/cppcheck-opensource/cppcheck/pull/8140
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/526d70ab2323783a849916d2295371b171ed43b5d2820580e9d0e393e05d9658/cppcheck-opensource/cppcheck/pull/8140
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechrchr-github
hostnamegithub.com
expected-hostnamegithub.com
None5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef4bb89367ca678f057d79b1abc45d6675b1bd5b2
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8140%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8140%2Fchecks
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 204 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_14416https://github.com/chrchr-github/cppcheck/tree/chr_14416
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/8140
Commits4 (4)https://github.com/cppcheck-opensource/cppcheck/pull/8140/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/8140/files
Fix #14416 FP knownConditionTrueFalse for function taking const pointer to consthttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks#top
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_14416https://github.com/chrchr-github/cppcheck/tree/chr_14416
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8140/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8140%2Fchecks
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653739
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653739/job/60943007614?pr=8140
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943007804?pr=8140
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943007756?pr=8140
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943007760?pr=8140
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943007795?pr=8140
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040298?pr=8140
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040310?pr=8140
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040286?pr=8140
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040302?pr=8140
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040326?pr=8140
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040299?pr=8140
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040324?pr=8140
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653741/job/60943040291?pr=8140
undefined behaviour sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653770
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653770/job/60943007640?pr=8140
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653742
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653742/job/60943007704?pr=8140
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007647?pr=8140
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007585?pr=8140
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007644?pr=8140
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007667?pr=8140
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007630?pr=8140
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007619?pr=8140
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007649?pr=8140
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007639?pr=8140
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007610?pr=8140
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007602?pr=8140
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007603?pr=8140
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653745/job/60943007605?pr=8140
thread sanitizer on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653749
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653749/job/60943007692?pr=8140
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653751
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653751/job/60943007714?pr=8140
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653751/job/60943007723?pr=8140
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653750
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653750/job/60943007633?pr=8140
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653750/job/60943007643?pr=8140
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653753
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653753/job/60943007693?pr=8140
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653758
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653758/job/60943007701?pr=8140
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653773
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653773/job/60943007715?pr=8140
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653761
build_cmake (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653761/job/60943007606?pr=8140
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653761/job/60943007636?pr=8140
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653774
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653774/job/60943007596?pr=8140
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653785
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653785/job/60943007775?pr=8140
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008070?pr=8140
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943007992?pr=8140
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008015?pr=8140
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008012?pr=8140
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008136?pr=8140
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008145?pr=8140
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008097?pr=8140
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008113?pr=8140
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008153?pr=8140
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008095?pr=8140
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008091?pr=8140
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008074?pr=8140
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008057?pr=8140
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008105?pr=8140
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008111?pr=8140
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008052?pr=8140
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008006?pr=8140
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60943008007?pr=8140
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653780/job/60945052590?pr=8140
address sanitizer on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653779
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653779/job/60943007595?pr=8140
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653814
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653814/job/60943007824?pr=8140
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653795
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653795/job/60943007581?pr=8140
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653979
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/21186653979/job/60943008205?pr=8140
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/8140/checks?check_run_id=60943613690
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/8140/checks?check_run_id=60943142480
SonarCloud https://github.com/cppcheck-opensource/cppcheck/pull/8140/checks?check_run_id=60944102409
SonarCloud Code Analysis https://github.com/cppcheck-opensource/cppcheck/pull/8140/checks?check_run_id=60944101210
https://github.com/cppcheck-opensource/cppcheck/pull/8140/checks#annotation:8:10
https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.