| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e5ecf3c2-5eaf-6f41-7d77-f5e6b4f435e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8856:2D610E:186CE04:21A7412:6A573258 |
| html-safe-nonce | ca101e0277917250f0bc62169823141361b9027f916cd6ffb6e05f913e5ba74c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODU2OjJENjEwRToxODZDRTA0OjIxQTc0MTI6NkE1NzMyNTgiLCJ2aXNpdG9yX2lkIjoiODI4Nzg5NzUwNDA5MzUxNjM3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1e9db1ffad1648888d92a0a2df369e5526f9e077a3e3420f7966b5482e9df291 |
| hovercard-subject-tag | pull_request:2604203941 |
| 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/19817/files |
| twitter:image | https://avatars.githubusercontent.com/u/9970661?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9970661?s=400&v=4 |
| og:image:alt | Converts the remaining {go,swift,ruby}-code-scanning.qls query tests to .qlref.
Example prior work: #18848
In the Go IncorrectIntegerConversion case, the #select, edges, and nodes query predicates ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql/pull/19817/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F19817%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F19817%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/19817/files |
| Reload | https://github.com/github/codeql/pull/19817/files |
| Reload | https://github.com/github/codeql/pull/19817/files |
| Please reload this page | https://github.com/github/codeql/pull/19817/files |
|
github
| https://github.com/github |
| codeql | https://github.com/github/codeql |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql |
|
Fork
2k
| https://github.com/login?return_to=%2Fgithub%2Fcodeql |
|
Star
9.8k
| https://github.com/login?return_to=%2Fgithub%2Fcodeql |
|
Code
| https://github.com/github/codeql |
|
Issues
992
| https://github.com/github/codeql/issues |
|
Pull requests
430
| 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 |
|
Models
| https://github.com/github/codeql/models |
|
Security and quality
0
| https://github.com/github/codeql/security |
|
Insights
| https://github.com/github/codeql/pulse |
|
Code
| https://github.com/github/codeql |
|
Issues
| https://github.com/github/codeql/issues |
|
Pull requests
| 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 |
|
Models
| https://github.com/github/codeql/models |
|
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 |
| d10c | https://github.com/d10c |
| github:main | https://github.com/github/codeql/tree/main |
| d10c:d10c/convert-tests-to-qlref | https://github.com/d10c/codeql/tree/d10c/convert-tests-to-qlref |
|
Conversation
11
| https://github.com/github/codeql/pull/19817 |
|
Findings
| https://github.com/github/codeql/pull/19817/findings |
|
Commits
9
| https://github.com/github/codeql/pull/19817/commits |
|
Checks
26
| https://github.com/github/codeql/pull/19817/checks |
|
Files changed
| https://github.com/github/codeql/pull/19817/files |
| Please reload this page | https://github.com/github/codeql/pull/19817/files |
|
Convert remaining {go,swift,ruby}-code-scanning.qls query tests to .qlref
| https://github.com/github/codeql/pull/19817/files#top |
|
Show all changes
9 commits
| https://github.com/github/codeql/pull/19817/files |
|
76a3306
Go: convert UncontrolledAllocationSize test to .qlref
d10c Jun 19, 2025
| https://github.com/github/codeql/pull/19817/commits/76a3306c6338fb1fac288b8c33e7d838cfb59aa1 |
|
cf92b0e
Go: convert IncorrectIntegerConversion test to .qlref
d10c Jun 19, 2025
| https://github.com/github/codeql/pull/19817/commits/cf92b0e91b75c4177f0d9f4eb535bfa654bb0079 |
|
807c769
Ruby: add PrettyPrintModels test postprocessor
d10c Jun 19, 2025
| https://github.com/github/codeql/pull/19817/commits/807c7691c653867f3d222935684af857409b98bf |
|
e329820
Ruby: convert CommandInjection test to .qlref
d10c Jun 19, 2025
| https://github.com/github/codeql/pull/19817/commits/e32982057cc09062586399bebafbe9fb3186bf5f |
|
92a48cd
Ruby: convert InsecureDownload test to .qlref
d10c Jun 19, 2025
| https://github.com/github/codeql/pull/19817/commits/92a48cdc2b4238d008fa197e4a3392cdb70e28f2 |
|
7615ec7
Swift: convert PredicateInjection test to .qlref
d10c Jun 20, 2025
| https://github.com/github/codeql/pull/19817/commits/7615ec7a240897afbad78071f87ebace79420271 |
|
895a8fc
Swift: convert CleartextLogging test to .qlref
d10c Jun 20, 2025
| https://github.com/github/codeql/pull/19817/commits/895a8fcb0f7c3fbcef75353aa56ff67fb26f1de7 |
|
aa3e011
Swift: convert PathInjection test to .qlref
d10c Jun 20, 2025
| https://github.com/github/codeql/pull/19817/commits/aa3e0116c1ba7556b262975573517ed20c3b0a0f |
|
35a48e7
Swift: convert XXE test to .qlref
d10c Jun 20, 2025
| https://github.com/github/codeql/pull/19817/commits/35a48e7f415b1867daf262d48608bad701722034 |
|
Clear filters
| https://github.com/github/codeql/pull/19817/files |
| Please reload this page | https://github.com/github/codeql/pull/19817/files |
| Please reload this page | https://github.com/github/codeql/pull/19817/files |
|
FilterTestResults.ql
| https://github.com/github/codeql/pull/19817/files#diff-75635c412a885a959585bb1da61f109ce9b442606193e676c1cc599780bfad99 |
|
IncorrectIntegerConversion.expected
| https://github.com/github/codeql/pull/19817/files#diff-c5b51d84efcab944e62f436d4b5794c806cb88ed45e956c7b7056599266b453a |
|
IncorrectIntegerConversion.go
| https://github.com/github/codeql/pull/19817/files#diff-04a21fa2636c40b3aacfe4ced9308275ec88b1f4560aa37dde5caa2914f5a66e |
|
IncorrectIntegerConversion.ql
| https://github.com/github/codeql/pull/19817/files#diff-ee2d98c59bd6b431773012a7a1d990a749067bb10e5fc7776a717fc85400b6d4 |
|
IncorrectIntegerConversion.qlref
| https://github.com/github/codeql/pull/19817/files#diff-2fcc0a6e6bf7fd754eb4d8fe224c85b84ee8f24043fd3cfef93005a8e262976a |
|
Test32BitArchitectureBuildConstraintInFileName_386.go
| https://github.com/github/codeql/pull/19817/files#diff-5870ad4eec5319559b87d6981eb4d254b761ff28bcde9389ab9a456dd11c0870 |
|
Test32BitArchitectureBuildConstraints.go
| https://github.com/github/codeql/pull/19817/files#diff-71bed6894324444b590eb3ec80aa6726582efc43f3e4fd50acc2980c02002ca4 |
|
Test64BitArchitectureBuildConstraintInFileName_amd64.go
| https://github.com/github/codeql/pull/19817/files#diff-25ce802959491b3acfd042ca9e7a39577f4ce667acc62fd17fa9ab0d1120db4f |
|
Test64BitArchitectureBuildConstraints.go
| https://github.com/github/codeql/pull/19817/files#diff-71817feed2bb161adec684f04c9e719c767f8a739bc47be2a888f4535981fccc |
|
TestNoArchitectureBuildConstraints.go
| https://github.com/github/codeql/pull/19817/files#diff-0bd31a5e41979b57e00c0105fc44066a1a8d954c00247abf3d0470b724d30ceb |
|
TestOldBuildConstraints.go
| https://github.com/github/codeql/pull/19817/files#diff-18bcee0a79a9bf840401b311eee21a1a8ba395d8482c834796c5e3beb3086231 |
|
UncontrolledAllocationSize.expected
| https://github.com/github/codeql/pull/19817/files#diff-2b32f75a5f23ad4d9717a65838686d72c2a3ca793dd38b77a11db6f22fa9f7e8 |
|
UncontrolledAllocationSize.ql
| https://github.com/github/codeql/pull/19817/files#diff-a5b6ff31e911ef88dfc77799554df774e421554f67d76a478ed636d14b5ad7f7 |
|
UncontrolledAllocationSize.qlref
| https://github.com/github/codeql/pull/19817/files#diff-b7ed1c7f7bad5f46eb19075ab781b1e08bf94f089682f5681b4b1b0ecff6b9c4 |
|
UncontrolledAllocationSizeBad.go
| https://github.com/github/codeql/pull/19817/files#diff-ae46261612b66e32a9863753bcaf5349ccdd6e554a5c82c255682b6689dfa4a5 |
|
PrettyPrintModels.ql
| https://github.com/github/codeql/pull/19817/files#diff-1a8981599812598523852994c09f33c86245094eba1c6032f29bc5264b4b209c |
|
CommandInjection.expected
| https://github.com/github/codeql/pull/19817/files#diff-e7ce53ba07a641f60016746422e2496114f4b4c2e560e3c18ec8ded0e6bc7026 |
|
CommandInjection.ql
| https://github.com/github/codeql/pull/19817/files#diff-b45916850f88d3f048ae5f688af07c8ff7c64a1798513f9b77f898f183595e5d |
|
CommandInjection.qlref
| https://github.com/github/codeql/pull/19817/files#diff-a24b2e385b51163d110330af009349d8a1fbad7bb2318827d83f843f755b662a |
|
CommandInjection.rb
| https://github.com/github/codeql/pull/19817/files#diff-f9bb0d908af6bb98cd28c2f660da6388ce6388aba6c4f0d70a0f603dd75c2f1e |
|
InsecureDownload.expected
| https://github.com/github/codeql/pull/19817/files#diff-5d732981a7e5ba9b6bd5c9f2708d0b1c8db7a1a81e93adbd6ca4aa20d3ea0098 |
|
InsecureDownload.ql
| https://github.com/github/codeql/pull/19817/files#diff-e1bf298353b629384a44619abc7d8fd13e7a8c41f873c21d2e9da2d5b8e680a4 |
|
InsecureDownload.qlref
| https://github.com/github/codeql/pull/19817/files#diff-ac2d22b5a7d1b054310b994848ef0a36cb821186fb4e75e52860afc7d5ce19f2 |
|
insecure_download.rb
| https://github.com/github/codeql/pull/19817/files#diff-39f884e16314482c00723d1862664d0912840505202a1836ad8b909e9951d110 |
|
PathInjectionTest.expected
| https://github.com/github/codeql/pull/19817/files#diff-5a6427a9d8fe6241d43940b2fce078e9efebbecbf4c3c816353ee1094146f2d6 |
|
PathInjectionTest.ql
| https://github.com/github/codeql/pull/19817/files#diff-8f37617c32e9a1a370ffa872a9b67887a24a0c65a2f976cdc1da895687fc377f |
|
PathInjectionTest.qlref
| https://github.com/github/codeql/pull/19817/files#diff-0edf80d9b42025dd05fe825072c86a3e34fd68f2528ca9376b505338ed30ff60 |
|
testPathInjection.swift
| https://github.com/github/codeql/pull/19817/files#diff-bafd2c38d5d3302be3f8d8feaa2f2d35c4b710b7dc31376600fc5c57b4822b7f |
|
CleartextLoggingTest.expected
| https://github.com/github/codeql/pull/19817/files#diff-08b4e2b94705cb2a7b1eed7a413a1d931253eed032ccbfa49c2186f93991300c |
|
CleartextLoggingTest.ql
| https://github.com/github/codeql/pull/19817/files#diff-d31465f2a5e0bbab5e59f9ac5b32aa2cef59d3359503c3161c4d8a9aa2d6e013 |
|
CleartextLoggingTest.qlref
| https://github.com/github/codeql/pull/19817/files#diff-8d02e2cc49c87fd25650cf46a693507e6ac68c0fca68dd8486f5a3417cfb6805 |
|
cleartextLoggingTest.swift
| https://github.com/github/codeql/pull/19817/files#diff-4afe8433100266fcccd92a9ce13e8e85e4bf538cbd0d3d17922183acbc8b5c13 |
|
XXETest.expected
| https://github.com/github/codeql/pull/19817/files#diff-39d209aefae6b838ea009684b900abd76cf127e3f47c63683d5053ad55d4958a |
|
XXETest.ql
| https://github.com/github/codeql/pull/19817/files#diff-86c8a5c91d5646c3d057cb35de66e843d1b6afa68649b2be3d48b36e71e5953b |
|
XXETest.qlref
| https://github.com/github/codeql/pull/19817/files#diff-00317bf4547e5d3aa790507befb50dd8c73260daa417854a4067c159cef8f713 |
|
testAEXMLDocumentXXE.swift
| https://github.com/github/codeql/pull/19817/files#diff-51327e5a90fc85f788b9494429f40325213fd5ba5f3ef25bc3f83713ee46af1d |
|
testXMLDocumentXXE.swift
| https://github.com/github/codeql/pull/19817/files#diff-614c77d95e4a05086f58eabf3c707374a60f79988c25f52f71d3ddc93ed16743 |
|
testXMLParserXXE.swift
| https://github.com/github/codeql/pull/19817/files#diff-f463a054263da4e2b5f23ad0825c04f7630d92b58738737a65276817b67cff7b |
|
PredicateInjectionTest.expected
| https://github.com/github/codeql/pull/19817/files#diff-478ccccbad72b56e14155c9fa75125f85010502477d65a19b51e1c0ccf713c18 |
|
PredicateInjectionTest.ql
| https://github.com/github/codeql/pull/19817/files#diff-b870b140efb00524a290e4ef8e4c63add0093eb90c98d34d00446df49df14ffb |
|
PredicateInjectionTest.qlref
| https://github.com/github/codeql/pull/19817/files#diff-9625569dc1fb52b976f6dc4839be27b2e9381cc29891af9cbd387eb1d87d3885 |
|
predicateInjection.swift
| https://github.com/github/codeql/pull/19817/files#diff-f2464e3d2ba179006eef287ccba9bbb3b715632276e30fe2de917cd76bde2b62 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L10 |
| go/ql/test/query-tests/Security/CWE-681/FilterTestResults.ql | https://github.com/github/codeql/pull/19817/files#diff-75635c412a885a959585bb1da61f109ce9b442606193e676c1cc599780bfad99 |
|
View file
| https://github.com/d10c/codeql/blob/35a48e7f415b1867daf262d48608bad701722034/go/ql/test/query-tests/Security/CWE-681/FilterTestResults.ql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/19817/{{ revealButtonHref }} |
| Please reload this page | https://github.com/github/codeql/pull/19817/files |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L10 |
| go/ql/test/query-tests/Security/CWE-681/IncorrectIntegerConversion.expected | https://github.com/github/codeql/pull/19817/files#diff-c5b51d84efcab944e62f436d4b5794c806cb88ed45e956c7b7056599266b453a |
|
View file
| https://github.com/d10c/codeql/blob/35a48e7f415b1867daf262d48608bad701722034/go/ql/test/query-tests/Security/CWE-681/IncorrectIntegerConversion.expected |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/19817/{{ revealButtonHref }} |
| Please reload this page | https://github.com/github/codeql/pull/19817/files |
| Please reload this page | https://github.com/github/codeql/pull/19817/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 |