| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:0fea8861-4afa-4716-2b13-7e9e9f7170ee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 924E:2411E:7E39541:A5601BB:696DC9DE |
| html-safe-nonce | 7e4e559e2b8a4044569fffce87b41fe1702f21fa8d0a7148b2b8136b96e3ce7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjRFOjI0MTFFOjdFMzk1NDE6QTU2MDFCQjo2OTZEQzlERSIsInZpc2l0b3JfaWQiOiIxMjY4OTA3NjQzNjY0OTc2MzUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f3e9e2db27e2b0f1715ba030ec2eccbcda491549dce0326ff2d249ce2c2bcfd5 |
| hovercard-subject-tag | pull_request:3177026921 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql/21171/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/18eabedb4db8a920b7cccfeff52b6a6249f4e85f10c4fb693fd9c4f6d54cda1f/github/codeql/pull/21171 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18eabedb4db8a920b7cccfeff52b6a6249f4e85f10c4fb693fd9c4f6d54cda1f/github/codeql/pull/21171 |
| og:image:alt | While working on MaD support for barriers/barrier guards for C/C++ I discovered a bug related to indirect barrier guards. This PR fixes that bug at the cost of:
Exposing a predicate that was priva... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MathiasVP |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21171 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21171 |
|
Sign up
| https://patch-diff.githubusercontent.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=github%2Fcodeql |
| Reload | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| Reload | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| Reload | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
|
github
| https://patch-diff.githubusercontent.com/github |
| codeql | https://patch-diff.githubusercontent.com/github/codeql |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql |
|
Fork
1.9k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql |
|
Star
9.1k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql |
|
Code
| https://patch-diff.githubusercontent.com/github/codeql |
|
Issues
918
| https://patch-diff.githubusercontent.com/github/codeql/issues |
|
Pull requests
368
| https://patch-diff.githubusercontent.com/github/codeql/pulls |
|
Discussions
| https://patch-diff.githubusercontent.com/github/codeql/discussions |
|
Actions
| https://patch-diff.githubusercontent.com/github/codeql/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/github/codeql/projects |
|
Models
| https://patch-diff.githubusercontent.com/github/codeql/models |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/github/codeql/security |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
|
Insights
| https://patch-diff.githubusercontent.com/github/codeql/pulse |
|
Code
| https://patch-diff.githubusercontent.com/github/codeql |
|
Issues
| https://patch-diff.githubusercontent.com/github/codeql/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/github/codeql/pulls |
|
Discussions
| https://patch-diff.githubusercontent.com/github/codeql/discussions |
|
Actions
| https://patch-diff.githubusercontent.com/github/codeql/actions |
|
Projects
| https://patch-diff.githubusercontent.com/github/codeql/projects |
|
Models
| https://patch-diff.githubusercontent.com/github/codeql/models |
|
Security
| https://patch-diff.githubusercontent.com/github/codeql/security |
|
Insights
| https://patch-diff.githubusercontent.com/github/codeql/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#issue-comment-box |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| github:main | https://patch-diff.githubusercontent.com/github/codeql/tree/main |
| MathiasVP:fix-conflation-in-guards | https://patch-diff.githubusercontent.com/MathiasVP/ql/tree/fix-conflation-in-guards |
|
C++: Fix conflation in barrier guards
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171#top |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| github:main | https://patch-diff.githubusercontent.com/github/codeql/tree/main |
| MathiasVP:fix-conflation-in-guards | https://patch-diff.githubusercontent.com/MathiasVP/ql/tree/fix-conflation-in-guards |
|
Conversation
4
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
|
Commits
6
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits |
|
Checks
37
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171/files |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| Jan 15, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#issue-3817202750 |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| @aschackmull | https://github.com/aschackmull |
| guardChecksInstr | https://github.com/github/codeql/blob/d8061c17ccc7c887346add5c8d294243c2a1943f/cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaImpl.qll#L1053-L1061 |
| guardChecksDef | https://github.com/github/codeql/blob/d8061c17ccc7c887346add5c8d294243c2a1943f/shared/controlflow/codeql/controlflow/Guards.qll#L1381-L1387 |
| getARead | https://github.com/github/codeql/blob/d8061c17ccc7c887346add5c8d294243c2a1943f/shared/controlflow/codeql/controlflow/Guards.qll#L543 |
| @aschackmull | https://github.com/aschackmull |
| first commit | https://github.com/github/codeql/pull/21171/commits/27a437a5141953f21e39095aa5c9d5899a0cacf6 |
| here | https://github.com/github/codeql/blob/7c95fefd96ea6def505558b8a042210669f1137a/cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll#L1131-L1135 |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| January 15, 2026 11:16 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#commits-pushed-27a437a |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
| C++: Modify test to reveal a bug. | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/27a437a5141953f21e39095aa5c9d5899a0cacf6 |
| 27a437a | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/27a437a5141953f21e39095aa5c9d5899a0cacf6 |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
| C++: Fix bug and accept test changes. | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/28681508f3ac1977309a3608268fd6b483757f15 |
| 2868150 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/28681508f3ac1977309a3608268fd6b483757f15 |
| https://patch-diff.githubusercontent.com/MathiasVP |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| Jan 15, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22067703773 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
|
C++
| https://patch-diff.githubusercontent.com/github/codeql/issues?q=state%3Aopen%20label%3AC%2B%2B |
| Jan 15, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22067705302 |
| https://patch-diff.githubusercontent.com/aschackmull |
| aschackmull | https://patch-diff.githubusercontent.com/aschackmull |
| Jan 15, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#issuecomment-3754484364 |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
| C++: Add indirect barrier guard to 'cpp/unbounded-write' to prevent F… | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/6da7890ff528b3e6b8221f2fa0e86475e763e57a |
| 6da7890 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/6da7890ff528b3e6b8221f2fa0e86475e763e57a |
| https://patch-diff.githubusercontent.com/MathiasVP |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| January 16, 2026 12:20 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22094572673 |
| https://patch-diff.githubusercontent.com/MathiasVP |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| code owner | https://patch-diff.githubusercontent.com/github/codeql/blob/7c95fefd96ea6def505558b8a042210669f1137a/CODEOWNERS#L26 |
| January 16, 2026 12:20 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22094572871 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| January 16, 2026 12:20 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22094572904 |
| https://patch-diff.githubusercontent.com/MathiasVP |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| code owner | https://patch-diff.githubusercontent.com/github/codeql/blob/7c95fefd96ea6def505558b8a042210669f1137a/CODEOWNERS#L6 |
| January 16, 2026 12:20 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22094572906 |
| started reviewing | https://github.com/copilot/tasks/pull/PR_kwDOCIafrM69XZVp?session_id=7103dceb-47f1-4f27-bc0c-65599cdd8bb5 |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| January 16, 2026 12:21 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22094589967 |
|
View session
| https://github.com/copilot/tasks/pull/PR_kwDOCIafrM69XZVp?session_id=7103dceb-47f1-4f27-bc0c-65599cdd8bb5 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
|
Jan 16, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171#pullrequestreview-3670643739 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171/files/6da7890ff528b3e6b8221f2fa0e86475e763e57a |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171#pullrequestreview-3670643739 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Add Copilot custom instructions | https://patch-diff.githubusercontent.com/github/codeql/new/main/.github/instructions?filename=*.instructions.md |
| Learn how to get started | https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/files/6da7890ff528b3e6b8221f2fa0e86475e763e57a#diff-e9e4c8dbaa54c9f16e1533c09bb66ff3ec456e747f98de139672cfa0412a463c |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| https://patch-diff.githubusercontent.com/MathiasVP |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| Jan 16, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#issuecomment-3759804912 |
| 6da7890 | https://github.com/github/codeql/commit/6da7890ff528b3e6b8221f2fa0e86475e763e57a |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
| MathiasVP | https://patch-diff.githubusercontent.com/MathiasVP |
| January 16, 2026 12:25 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#commits-pushed-5e9fd12 |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
|
| https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/5e9fd12d8c71e428b361b56525c75663554e8ed1 |
| 5e9fd12 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/5e9fd12d8c71e428b361b56525c75663554e8ed1 |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
| C++: Add change note. | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/08a6b99cfd43a3dd6c35b23b4033ae9503291e38 |
| 08a6b99 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/08a6b99cfd43a3dd6c35b23b4033ae9503291e38 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
|
documentation
| https://patch-diff.githubusercontent.com/github/codeql/issues?q=state%3Aopen%20label%3Adocumentation |
| Jan 16, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171#event-22094959254 |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
| C++: Switch another 'DataFlowType' to 'Type'. | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/f05bff01e464c22fe7ef2aa24c88a1950e567400 |
| f05bff0 | https://patch-diff.githubusercontent.com/github/codeql/pull/21171/commits/f05bff01e464c22fe7ef2aa24c88a1950e567400 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21171 |
|
Copilot code review
| https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
|
| https://patch-diff.githubusercontent.com/github/codeql/pull/21171/files/6da7890ff528b3e6b8221f2fa0e86475e763e57a |
|
C++
| https://patch-diff.githubusercontent.com/github/codeql/issues?q=state%3Aopen%20label%3AC%2B%2B |
|
documentation
| https://patch-diff.githubusercontent.com/github/codeql/issues?q=state%3Aopen%20label%3Adocumentation |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21171 |
|
| https://patch-diff.githubusercontent.com/MathiasVP |
|
| https://patch-diff.githubusercontent.com/aschackmull |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |