René's URL Explorer Experiment


Title: Partial fix for #8328 (build dir: hash the addon files) by g-chauvel · Pull Request #9029 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Partial fix for #8328 (build dir: hash the addon files) by g-chauvel · Pull Request #9029 · cppcheck-opensource/cppcheck

X Title: Partial fix for #8328 (build dir: hash the addon files) by g-chauvel · Pull Request #9029 · cppcheck-opensource/cppcheck

Description: With --cppcheck-build-dir, the hash only includes the name and the arguments of the addons. After editing the addon script, its json file or a file given in its arguments, cppcheck shows the cached results. This hashes the json file, the script or the executable, and the files given as OPTION=FILE in the arguments, when the addon is loaded. Still not hashed: an executable found through the PATH, a file given as a separate argument ("--rule-texts", "FILE"), and the files the script reads or imports itself. t.c void f(int a) { } rules.txt Appendix A Summary of guidelines Rule 2.7 V1 misra.json {"script": "misra.py", "args": ["--rule-texts=rules.txt"]} mkdir bd cppcheck -q --enable=style --addon=misra.json --cppcheck-build-dir=bd --template="{file}:{line}: {message} [{id}]" t.c t.c:1: V1 [misra-c2012-2.7] t.c:1: misra violation 804 with no text in the supplied rule-texts-file [misra-c2012-8.4] Change V1 to V2 in rules.txt and run the same command again. Before PR (stale results from the cache): t.c:1: V1 [misra-c2012-2.7] t.c:1: misra violation 804 with no text in the supplied rule-texts-file [misra-c2012-8.4] After PR (cache invalidated): t.c:1: V2 [misra-c2012-2.7] t.c:1: misra violation 804 with no text in the supplied rule-texts-file [misra-c2012-8.4]

Open Graph Description: With --cppcheck-build-dir, the hash only includes the name and the arguments of the addons. After editing the addon script, its json file or a file given in its arguments, cppcheck shows the cached...

X Description: With --cppcheck-build-dir, the hash only includes the name and the arguments of the addons. After editing the addon script, its json file or a file given in its arguments, cppcheck shows the cached...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4c98ddf3-8d89-f8e5-3321-cb6e26450291
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7CC:177FEE:2C626B:3D3CBE:6AFC4DCF
html-safe-nonce7d4e64201b8c7af6813ee1a8aa93e425d073947f267d1e7038bf0ee9cb4639bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0NDOjE3N0ZFRToyQzYyNkI6M0QzQ0JFOjZBRkM0RENGIiwidmlzaXRvcl9pZCI6IjQ1Nzc5NzkyMzI4NDc0MTY3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9ef28d3affeac2331b857d0850b273c365f45459074f6c69ee97bd2522a34ffa
hovercard-subject-tagpull_request:5313210686
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/9029/files
twitter:imagehttps://avatars.githubusercontent.com/u/44832931?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/44832931?s=400&v=4
og:image:altWith --cppcheck-build-dir, the hash only includes the name and the arguments of the addons. After editing the addon script, its json file or a file given in its arguments, cppcheck shows the cached...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb63557e0027d8014589e873df28328da74a4356701bb1a9eab49dbf012ba8fa6
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0243355b0352c83733a042e0dfb3d75149b51261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9029%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9029%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
cppcheck-opensourcehttps://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Codehttps://github.com/cppcheck-opensource/cppcheck
Pull requests222 (222)https://github.com/cppcheck-opensource/cppcheck/pulls
Actionshttps://github.com/cppcheck-opensource/cppcheck/actions
Security and qualityhttps://github.com/cppcheck-opensource/cppcheck/security
Insightshttps://github.com/cppcheck-opensource/cppcheck/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
g-chauvelhttps://github.com/g-chauvel
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
g-chauvel:addon-cache-hashhttps://github.com/g-chauvel/cppcheck/tree/addon-cache-hash
Conversation 5 https://github.com/cppcheck-opensource/cppcheck/pull/9029
Commits 1 https://github.com/cppcheck-opensource/cppcheck/pull/9029/commits
Checks 71 https://github.com/cppcheck-opensource/cppcheck/pull/9029/checks
Files changed https://github.com/cppcheck-opensource/cppcheck/pull/9029/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
Partial fix for #8328 (build dir: hash the addon files) https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#top
Show all changes 1 commit https://github.com/cppcheck-opensource/cppcheck/pull/9029/files
4da7647 Partial fix for #8328 (build dir: hash the addon files) g-chauvel Nov 10, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/9029/commits/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/9029/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
cmdlineparser.cpp https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-52ae9cc3136ebba4f9e1106f8b87f002e9e620f0466da105d96ae5a6d0d86414
mainwindow.cpp https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
addoninfo.cpp https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
addoninfo.h https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-5edc0da523869259eb87620ffdb6cab7391aa8cd4808972c6c7f76573f8ce311
cppcheck.cpp https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
utils.cpp https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-e9ff2e1decc8fc8be7dcc5fc2093c77444a086bf03c7d8b8479b91df35d6fd4f
utils.h https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-839661285af55d5134633b32ce8d2bd2a244939148620ee53b1fa97e5534bac6
other_test.py https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
testcppcheck.cpp https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
cli/cmdlineparser.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-52ae9cc3136ebba4f9e1106f8b87f002e9e620f0466da105d96ae5a6d0d86414
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/cli/cmdlineparser.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-52ae9cc3136ebba4f9e1106f8b87f002e9e620f0466da105d96ae5a6d0d86414
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-52ae9cc3136ebba4f9e1106f8b87f002e9e620f0466da105d96ae5a6d0d86414
gui/mainwindow.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/gui/mainwindow.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
lib/addoninfo.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/lib/addoninfo.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
dmcppcheckhttps://github.com/dmcppcheck
Nov 14, 2026https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#r4575630868
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
lib/addoninfo.hhttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-5edc0da523869259eb87620ffdb6cab7391aa8cd4808972c6c7f76573f8ce311
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/lib/addoninfo.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-5edc0da523869259eb87620ffdb6cab7391aa8cd4808972c6c7f76573f8ce311
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-5edc0da523869259eb87620ffdb6cab7391aa8cd4808972c6c7f76573f8ce311
lib/cppcheck.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/lib/cppcheck.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
lib/utils.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-e9ff2e1decc8fc8be7dcc5fc2093c77444a086bf03c7d8b8479b91df35d6fd4f
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/lib/utils.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-e9ff2e1decc8fc8be7dcc5fc2093c77444a086bf03c7d8b8479b91df35d6fd4f
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-e9ff2e1decc8fc8be7dcc5fc2093c77444a086bf03c7d8b8479b91df35d6fd4f
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-e9ff2e1decc8fc8be7dcc5fc2093c77444a086bf03c7d8b8479b91df35d6fd4f
lib/utils.hhttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-839661285af55d5134633b32ce8d2bd2a244939148620ee53b1fa97e5534bac6
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/lib/utils.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-839661285af55d5134633b32ce8d2bd2a244939148620ee53b1fa97e5534bac6
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-839661285af55d5134633b32ce8d2bd2a244939148620ee53b1fa97e5534bac6
test/cli/other_test.pyhttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/test/cli/other_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
test/testcppcheck.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
View file https://github.com/cppcheck-opensource/cppcheck/blob/4da7647d1d9ff0fea65d83b0b7de8d6fd7e6068a/test/testcppcheck.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/9029/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
https://github.com/cppcheck-opensource/cppcheck/pull/9029/files#diff-be484d7085fe05a82123a9a7a493a78c7907ab1027305516f154faeeb84f07c5
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9029/files
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.