| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:78c503ea-219c-9acb-2290-b88d7ab60e39 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC7C:204EA1:168BB2B:1DA73F6:6AF89935 |
| html-safe-nonce | e7403f6683b20a0b74beb4894e0a1c0435961c9932f8ab9b30cc0787addf0de5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzdDOjIwNEVBMToxNjhCQjJCOjFEQTczRjY6NkFGODk5MzUiLCJ2aXNpdG9yX2lkIjoiMjYwMDE1MDc4MzA2Mzc5MTkyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 19d8de0bedf0555afe19d88fe0fa6bb984488968a54c0c6d1ca632786f54c156 |
| hovercard-subject-tag | pull_request:4219061566 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/22287/files |
| twitter:image | https://avatars.githubusercontent.com/u/3667920?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3667920?s=400&v=4 |
| og:image:alt | Flow through captured variables relies on being able to see calls to the capturing closures. For calls that happen inside library functions we hence need a flow model, which this PR adds, similar t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql/pull/22287/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F22287%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F22287%2Ffiles |
| 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%2Ffiles&source=header-repo&source_repo=github%2Fcodeql |
| Reload | https://github.com/github/codeql/pull/22287/files |
| Reload | https://github.com/github/codeql/pull/22287/files |
| Reload | https://github.com/github/codeql/pull/22287/files |
| github | https://github.com/github |
| codeql | https://github.com/github/codeql |
| Code | https://github.com/github/codeql |
| Issues1k (1k) | https://github.com/github/codeql/issues |
| Pull requests516 (516) | https://github.com/github/codeql/pulls |
| Discussions | https://github.com/github/codeql/discussions |
| Actions | https://github.com/github/codeql/actions |
| Projects | https://github.com/github/codeql/projects |
| Security and quality | https://github.com/github/codeql/security |
| Insights | https://github.com/github/codeql/pulse |
| Sign up for GitHub
| https://github.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://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| hvitved | https://github.com/hvitved |
| github:main | https://github.com/github/codeql/tree/main |
| hvitved:rust/default-callback-models | https://github.com/hvitved/codeql/tree/rust/default-callback-models |
|
Conversation
5
| https://github.com/github/codeql/pull/22287 |
|
Commits
4
| https://github.com/github/codeql/pull/22287/commits |
|
Checks
15
| https://github.com/github/codeql/pull/22287/checks |
|
Findings
| https://github.com/github/codeql/pull/22287/findings |
|
Files changed
| https://github.com/github/codeql/pull/22287/files |
| Please reload this page | https://github.com/github/codeql/pull/22287/files |
|
Rust: Assume callbacks will be invoked in library functions
| https://github.com/github/codeql/pull/22287/files#top |
|
Show all changes
4 commits
| https://github.com/github/codeql/pull/22287/files |
|
51f3acf
Rust: Add test for missing flow through captured variables
hvitved Aug 6, 2026
| https://github.com/github/codeql/pull/22287/commits/51f3acf10440280792366439d81f9d0e44076f89 |
|
e9bd698
Rust: Assume callbacks will be invoked in library functions
hvitved Aug 6, 2026
| https://github.com/github/codeql/pull/22287/commits/e9bd6988c82d0d085f82beb96f5d31aea720b4a4 |
|
1e6ef80
Rust: Add another captured varible flow test
hvitved Aug 6, 2026
| https://github.com/github/codeql/pull/22287/commits/1e6ef80a7e2de97b4b45f36ce2365330af65d644 |
|
52cbb67
Rust: Evaluate `mayInvokeCallback` in type inference stage
hvitved Aug 10, 2026
| https://github.com/github/codeql/pull/22287/commits/52cbb679dd79fd14d8126576ff5706c5398e3679 |
|
Clear filters
| https://github.com/github/codeql/pull/22287/files |
| Please reload this page | https://github.com/github/codeql/pull/22287/files |
| Please reload this page | https://github.com/github/codeql/pull/22287/files |
|
Scope.qll
| https://github.com/github/codeql/pull/22287/files#diff-fdd7f0c5e4f8a8297bc55c6cf3e10664f328e23b445bb9ea1c29ba7fa56cbce3 |
|
DataFlowImpl.qll
| https://github.com/github/codeql/pull/22287/files#diff-895728d1efcea2f6c062c690b085321596447c884837815727bb1497d705757c |
|
ModelsAsData.qll
| https://github.com/github/codeql/pull/22287/files#diff-8004f6ea26881cdadc22870fb96b2225a75a7a38b640a294018526217e605d86 |
|
CachedStages.qll
| https://github.com/github/codeql/pull/22287/files#diff-113c30eec7c49aeed45147f5f357e304044411cd4a859c17fc161e26c0273700 |
|
external_file.rs
| https://github.com/github/codeql/pull/22287/files#diff-541aa762115293b09f73133ab215676c4730e44eb437cdbc209e10f448dd243d |
|
inline-flow.expected
| https://github.com/github/codeql/pull/22287/files#diff-377d6653a9a05fda216a81d81edbd74724068bb533e065688070e0d730b5af80 |
|
inline-flow.ext.yml
| https://github.com/github/codeql/pull/22287/files#diff-7abc3598782452c91ef66c8b9dd608156bc1f036454ff318e801e233c5449c7e |
|
main.rs
| https://github.com/github/codeql/pull/22287/files#diff-dfd10c0077310a081e0186d49f036eb3860d7ac6ace217e60256084d6c872f5a |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/lib/codeql/rust/controlflow/internal/Scope.qll | https://github.com/github/codeql/pull/22287/files#diff-fdd7f0c5e4f8a8297bc55c6cf3e10664f328e23b445bb9ea1c29ba7fa56cbce3 |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/lib/codeql/rust/controlflow/internal/Scope.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22287/files#diff-fdd7f0c5e4f8a8297bc55c6cf3e10664f328e23b445bb9ea1c29ba7fa56cbce3 |
|
| https://github.com/github/codeql/pull/22287/files#diff-fdd7f0c5e4f8a8297bc55c6cf3e10664f328e23b445bb9ea1c29ba7fa56cbce3 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/lib/codeql/rust/dataflow/internal/DataFlowImpl.qll | https://github.com/github/codeql/pull/22287/files#diff-895728d1efcea2f6c062c690b085321596447c884837815727bb1497d705757c |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/lib/codeql/rust/dataflow/internal/DataFlowImpl.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22287/files#diff-895728d1efcea2f6c062c690b085321596447c884837815727bb1497d705757c |
|
| https://github.com/github/codeql/pull/22287/files#diff-895728d1efcea2f6c062c690b085321596447c884837815727bb1497d705757c |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/lib/codeql/rust/dataflow/internal/ModelsAsData.qll | https://github.com/github/codeql/pull/22287/files#diff-8004f6ea26881cdadc22870fb96b2225a75a7a38b640a294018526217e605d86 |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/lib/codeql/rust/dataflow/internal/ModelsAsData.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22287/files#diff-8004f6ea26881cdadc22870fb96b2225a75a7a38b640a294018526217e605d86 |
|
| https://github.com/github/codeql/pull/22287/files#diff-8004f6ea26881cdadc22870fb96b2225a75a7a38b640a294018526217e605d86 |
|
| https://github.com/github/codeql/pull/22287/files#diff-8004f6ea26881cdadc22870fb96b2225a75a7a38b640a294018526217e605d86 |
| Please reload this page | https://github.com/github/codeql/pull/22287/files |
|
| https://github.com/github/codeql/pull/22287/files#diff-8004f6ea26881cdadc22870fb96b2225a75a7a38b640a294018526217e605d86 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/lib/codeql/rust/internal/CachedStages.qll | https://github.com/github/codeql/pull/22287/files#diff-113c30eec7c49aeed45147f5f357e304044411cd4a859c17fc161e26c0273700 |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/lib/codeql/rust/internal/CachedStages.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22287/files#diff-113c30eec7c49aeed45147f5f357e304044411cd4a859c17fc161e26c0273700 |
|
| https://github.com/github/codeql/pull/22287/files#diff-113c30eec7c49aeed45147f5f357e304044411cd4a859c17fc161e26c0273700 |
|
| https://github.com/github/codeql/pull/22287/files#diff-113c30eec7c49aeed45147f5f357e304044411cd4a859c17fc161e26c0273700 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/test/library-tests/dataflow/lambdas/external_file.rs | https://github.com/github/codeql/pull/22287/files#diff-541aa762115293b09f73133ab215676c4730e44eb437cdbc209e10f448dd243d |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/test/library-tests/dataflow/lambdas/external_file.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/test/library-tests/dataflow/lambdas/inline-flow.expected | https://github.com/github/codeql/pull/22287/files#diff-377d6653a9a05fda216a81d81edbd74724068bb533e065688070e0d730b5af80 |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/test/library-tests/dataflow/lambdas/inline-flow.expected |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22287/files#diff-377d6653a9a05fda216a81d81edbd74724068bb533e065688070e0d730b5af80 |
|
| https://github.com/github/codeql/pull/22287/files#diff-377d6653a9a05fda216a81d81edbd74724068bb533e065688070e0d730b5af80 |
|
| https://github.com/github/codeql/pull/22287/files#diff-377d6653a9a05fda216a81d81edbd74724068bb533e065688070e0d730b5af80 |
|
| https://github.com/github/codeql/pull/22287/files#diff-377d6653a9a05fda216a81d81edbd74724068bb533e065688070e0d730b5af80 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/test/library-tests/dataflow/lambdas/inline-flow.ext.yml | https://github.com/github/codeql/pull/22287/files#diff-7abc3598782452c91ef66c8b9dd608156bc1f036454ff318e801e233c5449c7e |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/test/library-tests/dataflow/lambdas/inline-flow.ext.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L23 |
| rust/ql/test/library-tests/dataflow/lambdas/main.rs | https://github.com/github/codeql/pull/22287/files#diff-dfd10c0077310a081e0186d49f036eb3860d7ac6ace217e60256084d6c872f5a |
|
View file
| https://github.com/hvitved/codeql/blob/52cbb679dd79fd14d8126576ff5706c5398e3679/rust/ql/test/library-tests/dataflow/lambdas/main.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22287/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22287/files#diff-dfd10c0077310a081e0186d49f036eb3860d7ac6ace217e60256084d6c872f5a |
|
| https://github.com/github/codeql/pull/22287/files#diff-dfd10c0077310a081e0186d49f036eb3860d7ac6ace217e60256084d6c872f5a |
| Please reload this page | https://github.com/github/codeql/pull/22287/files |
|
| 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 |