René's URL Explorer Experiment


Title: ProgramMemory: avoid duplicated lookups / removed `at()` by firewave · Pull Request #7768 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: ProgramMemory: avoid duplicated lookups / removed `at()` by firewave · Pull Request #7768 · cppcheck-opensource/cppcheck

X Title: ProgramMemory: avoid duplicated lookups / removed `at()` by firewave · Pull Request #7768 · cppcheck-opensource/cppcheck

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

Open Graph Description: all at() calls were proceeded by hasValue() so we can just directly fetch the value instead.

X Description: all at() calls were proceeded by hasValue() so we can just directly fetch the value instead.

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4c5cf5c4-039d-8d3f-f8a1-42444a702caf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8550:B97C3:27034FD:358D31C:6A4EEFD9
html-safe-nonce349553061ce2759bc6d14334ba956a654ef2d2d0e2e1fe891ff4e9bfad913ac0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTUwOkI5N0MzOjI3MDM0RkQ6MzU4RDMxQzo2QTRFRUZEOSIsInZpc2l0b3JfaWQiOiIyMTU1Mzk4NTEwMDA1OTA3NDE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd59133f7c8702a3ffc95cfab4d63cc283674f1ad8db733555e8efe4c7ba8f113
hovercard-subject-tagpull_request:2771810358
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/7768/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c665bfca4442f7dc3d15981845e467a295e74aa132705dce73618c2e7a252873/cppcheck-opensource/cppcheck/pull/7768
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c665bfca4442f7dc3d15981845e467a295e74aa132705dce73618c2e7a252873/cppcheck-opensource/cppcheck/pull/7768
og:image:altall at() calls were proceeded by hasValue() so we can just directly fetch the value instead.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefirewave
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release00d04d6b867d2f16ab50bebae8ccc56e07c8988b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/7768#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7768
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F7768
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
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
firewavehttps://github.com/firewave
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:pm-athttps://github.com/firewave/cppcheck/tree/pm-at
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Commits2 (2)https://github.com/cppcheck-opensource/cppcheck/pull/7768/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files
ProgramMemory: avoid duplicated lookups / removed at()https://github.com/cppcheck-opensource/cppcheck/pull/7768#top
firewavehttps://github.com/firewave
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:pm-athttps://github.com/firewave/cppcheck/tree/pm-at
https://github.com/firewave
firewavehttps://github.com/firewave
Aug 25, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issue-3351823867
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/44f69d1d447cf55dbc4c8628c5f492f3c2192155..f6ed35e86406f8c8856b986b84b555a2a767abb6
44f69d1https://github.com/cppcheck-opensource/cppcheck/commit/44f69d1d447cf55dbc4c8628c5f492f3c2192155
f6ed35ehttps://github.com/cppcheck-opensource/cppcheck/commit/f6ed35e86406f8c8856b986b84b555a2a767abb6
Compare https://github.com/cppcheck-opensource/cppcheck/compare/44f69d1d447cf55dbc4c8628c5f492f3c2192155..f6ed35e86406f8c8856b986b84b555a2a767abb6
August 25, 2025 13:22https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19322471544
https://github.com/firewave
firewavehttps://github.com/firewave
Aug 25, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3220271148
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/1cb862fa301b6b629aad3e398ec860f63feae7aa..7a0419723840ef143d8d7dee73c22a0f85b3f415
1cb862fhttps://github.com/cppcheck-opensource/cppcheck/commit/1cb862fa301b6b629aad3e398ec860f63feae7aa
7a04197https://github.com/cppcheck-opensource/cppcheck/commit/7a0419723840ef143d8d7dee73c22a0f85b3f415
Compare https://github.com/cppcheck-opensource/cppcheck/compare/1cb862fa301b6b629aad3e398ec860f63feae7aa..7a0419723840ef143d8d7dee73c22a0f85b3f415
August 25, 2025 13:32https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19322679738
https://github.com/firewave
firewavehttps://github.com/firewave
Aug 25, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3151523753
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
lib/programmemory.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files#diff-d841085aa3cbf81a29d2a3ed306e252d2231dc7696a192d40aa92da0168e67cd
firewavehttps://github.com/firewave
Aug 25, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2298142240
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Aug 27, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3227330436
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Aug 27, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3227340635
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/7a0419723840ef143d8d7dee73c22a0f85b3f415..f84c57fdcc580783185bd7d4cb4ed52274d17a82
7a04197https://github.com/cppcheck-opensource/cppcheck/commit/7a0419723840ef143d8d7dee73c22a0f85b3f415
f84c57fhttps://github.com/cppcheck-opensource/cppcheck/commit/f84c57fdcc580783185bd7d4cb4ed52274d17a82
Compare https://github.com/cppcheck-opensource/cppcheck/compare/7a0419723840ef143d8d7dee73c22a0f85b3f415..f84c57fdcc580783185bd7d4cb4ed52274d17a82
August 30, 2025 11:14https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19423485921
https://github.com/firewave
firewavehttps://github.com/firewave
Sep 15, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3290533566
#7800https://github.com/cppcheck-opensource/cppcheck/pull/7800
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Sep 15, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3290557428
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
#7800https://github.com/cppcheck-opensource/cppcheck/pull/7800
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/ea4410b3aafceb47564600e96a0fbbf968e8de13..1aaf14f85c0cce42a32a279a7554384486f70d7b
ea4410bhttps://github.com/cppcheck-opensource/cppcheck/commit/ea4410b3aafceb47564600e96a0fbbf968e8de13
1aaf14fhttps://github.com/cppcheck-opensource/cppcheck/commit/1aaf14f85c0cce42a32a279a7554384486f70d7b
Compare https://github.com/cppcheck-opensource/cppcheck/compare/ea4410b3aafceb47564600e96a0fbbf968e8de13..1aaf14f85c0cce42a32a279a7554384486f70d7b
September 15, 2025 06:15https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19692938160
https://github.com/firewave
firewavehttps://github.com/firewave
Sep 15, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3290639938
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Sep 15, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#ref-pullrequest-3390292369
refs #12358 - CI-unixish.yml: added step which checks for AST and ValueFlow changes #7800 https://github.com/cppcheck-opensource/cppcheck/pull/7800
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/1aaf14f85c0cce42a32a279a7554384486f70d7b..28064acd498f01a124ec526227697fea053bb1c4
1aaf14fhttps://github.com/cppcheck-opensource/cppcheck/commit/1aaf14f85c0cce42a32a279a7554384486f70d7b
28064achttps://github.com/cppcheck-opensource/cppcheck/commit/28064acd498f01a124ec526227697fea053bb1c4
Compare https://github.com/cppcheck-opensource/cppcheck/compare/1aaf14f85c0cce42a32a279a7554384486f70d7b..28064acd498f01a124ec526227697fea053bb1c4
September 15, 2025 06:25https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19693089218
https://github.com/firewave
firewavehttps://github.com/firewave
September 15, 2025 06:25https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19693090493
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Sep 15, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3223078525
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
lib/programmemory.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files#diff-d841085aa3cbf81a29d2a3ed306e252d2231dc7696a192d40aa92da0168e67cd
danmarhttps://github.com/danmar
Jan 29, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2740632173
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Sep 15, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3290670905
https://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=7768
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 New issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=7768&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=7768&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=danmar_cppcheck&pullRequest=7768&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=7768&metric=new_coverage&view=list
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=7768&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=7768
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Sep 15, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3223415396
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
lib/programmemory.hhttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files#diff-7f5f7d4a9d8abaf48af609b61e30036cc6a0226f2c6833ab4bac0196e998588b
firewavehttps://github.com/firewave
Sep 15, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2348217527
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
pfultz2https://github.com/pfultz2
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353493870
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353618104
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Sep 16, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#ref-pullrequest-3422589781
Fix 13930: False positive: valueflow and other variable #7827 https://github.com/cppcheck-opensource/cppcheck/pull/7827
https://github.com/pfultz2
pfultz2https://github.com/pfultz2
Sep 16, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3231474475
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
lib/vf_analyzers.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files#diff-f3479a88276b72847085402d2ece669dcaf7cda8cf50fbc86cfd4f34350ea703
pfultz2https://github.com/pfultz2
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353497902
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353615851
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Feb 18, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2822390000
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/pfultz2
pfultz2https://github.com/pfultz2
Sep 16, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3231488508
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
lib/programmemory.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files#diff-d841085aa3cbf81a29d2a3ed306e252d2231dc7696a192d40aa92da0168e67cd
pfultz2https://github.com/pfultz2
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353508230
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353613399
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/pfultz2
pfultz2https://github.com/pfultz2
Sep 16, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3231495713
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
lib/programmemory.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files#diff-d841085aa3cbf81a29d2a3ed306e252d2231dc7696a192d40aa92da0168e67cd
pfultz2https://github.com/pfultz2
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353513930
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Sep 16, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2353612369
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Sep 17, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2354376657
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
Nov 12, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r2518027454
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
September 17, 2025 06:33https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-19742308462
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/28064acd498f01a124ec526227697fea053bb1c4..31fa846e40fe98d4f4cdb63da4fcbd25f3dede51
28064achttps://github.com/cppcheck-opensource/cppcheck/commit/28064acd498f01a124ec526227697fea053bb1c4
31fa846https://github.com/cppcheck-opensource/cppcheck/commit/31fa846e40fe98d4f4cdb63da4fcbd25f3dede51
Compare https://github.com/cppcheck-opensource/cppcheck/compare/28064acd498f01a124ec526227697fea053bb1c4..31fa846e40fe98d4f4cdb63da4fcbd25f3dede51
November 12, 2025 11:59https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-20886697587
https://github.com/firewave
firewavehttps://github.com/firewave
November 12, 2025 11:59https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-20886699794
https://github.com/firewave
firewavehttps://github.com/firewave
Nov 12, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3521584323
#7800https://github.com/cppcheck-opensource/cppcheck/pull/7800
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Nov 12, 2025https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3521592825
https://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=7768
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 New issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=7768&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=7768&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=danmar_cppcheck&pullRequest=7768&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=7768&metric=new_coverage&view=list
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=7768&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=7768
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/31fa846e40fe98d4f4cdb63da4fcbd25f3dede51..9454a1b1d62d3950d4eb50a072afcf33a74e8a95
31fa846https://github.com/cppcheck-opensource/cppcheck/commit/31fa846e40fe98d4f4cdb63da4fcbd25f3dede51
9454a1bhttps://github.com/cppcheck-opensource/cppcheck/commit/9454a1b1d62d3950d4eb50a072afcf33a74e8a95
Compare https://github.com/cppcheck-opensource/cppcheck/compare/31fa846e40fe98d4f4cdb63da4fcbd25f3dede51..9454a1b1d62d3950d4eb50a072afcf33a74e8a95
January 26, 2026 13:34https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-22289606516
https://github.com/danmar
danmarhttps://github.com/danmar
Jan 29, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3721514324
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files
danmarhttps://github.com/danmar
https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-3721514324
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
firewavehttps://github.com/firewave
February 18, 2026 11:46https://github.com/cppcheck-opensource/cppcheck/pull/7768#commits-pushed-3c1dd20
https://github.com/firewave
ProgramMemory: consistently added impossible parameter to lookup fu…https://github.com/cppcheck-opensource/cppcheck/pull/7768/commits/3c1dd20bf75cabc28d11f33c8a4fbccd4d020249
3c1dd20https://github.com/cppcheck-opensource/cppcheck/pull/7768/commits/3c1dd20bf75cabc28d11f33c8a4fbccd4d020249
https://github.com/firewave
ProgramMemory: avoid duplicated lookups / removed at()https://github.com/cppcheck-opensource/cppcheck/pull/7768/commits/13284084dc99a3f72799976db1a1620739965688
1328408https://github.com/cppcheck-opensource/cppcheck/pull/7768/commits/13284084dc99a3f72799976db1a1620739965688
https://github.com/firewave
firewavehttps://github.com/firewave
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/9454a1b1d62d3950d4eb50a072afcf33a74e8a95..13284084dc99a3f72799976db1a1620739965688
9454a1bhttps://github.com/cppcheck-opensource/cppcheck/commit/9454a1b1d62d3950d4eb50a072afcf33a74e8a95
1328408https://github.com/cppcheck-opensource/cppcheck/commit/13284084dc99a3f72799976db1a1620739965688
Compare https://github.com/cppcheck-opensource/cppcheck/compare/9454a1b1d62d3950d4eb50a072afcf33a74e8a95..13284084dc99a3f72799976db1a1620739965688
February 18, 2026 10:48https://github.com/cppcheck-opensource/cppcheck/pull/7768#event-22880417980
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Feb 18, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-3920113801
https://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=7768
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 New issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=7768&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=7768&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=danmar_cppcheck&pullRequest=7768&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=7768&metric=new_coverage&view=list
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=7768&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=7768
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/danmar
danmarhttps://github.com/danmar
Apr 26, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-4321756529
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Apr 26, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-4322529689
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/danmar
danmarhttps://github.com/danmar
Apr 26, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-4322688819
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
firewavehttps://github.com/firewave
Apr 26, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#issuecomment-4323100391
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/danmar
danmarhttps://github.com/danmar
Apr 27, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/7768#pullrequestreview-4183373451
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/7768/files/13284084dc99a3f72799976db1a1620739965688
lib/programmemory.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files/13284084dc99a3f72799976db1a1620739965688#diff-d841085aa3cbf81a29d2a3ed306e252d2231dc7696a192d40aa92da0168e67cd
danmarhttps://github.com/danmar
Apr 27, 2026https://github.com/cppcheck-opensource/cppcheck/pull/7768#discussion_r3149459112
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7768
https://github.com/danmar
danmar https://github.com/danmar
https://github.com/cppcheck-opensource/cppcheck/pull/7768/files/13284084dc99a3f72799976db1a1620739965688
https://github.com/pfultz2
pfultz2 https://github.com/pfultz2
https://github.com/cppcheck-opensource/cppcheck/pull/7768/files/28064acd498f01a124ec526227697fea053bb1c4
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768
https://github.com/firewave
https://github.com/danmar
https://github.com/pfultz2
https://github.com/apps/github-advanced-security
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.