Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10k
Code
Issues
996
Pull requests
450
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Go: Use shared guards library
- #22365
#22365
Draft
owen-mc
wants to merge 29 commits into
github:main
github/codeql:main
from
owen-mc:go/shared-guards
owen-mc/codeql:go/shared-guards
Copy head branch name to clipboard
Conversation
Commits
29
(29)
Checks
Findings
Files changed
Draft
Go: Use shared guards library
#22365
owen-mc
wants to merge 29 commits into
github:main
github/codeql:main
from
owen-mc:go/shared-guards
owen-mc/codeql:go/shared-guards
Copy head branch name to clipboard
Commits
Commits on Aug 17, 2026
Align old CFG node strings with shared library
Show description for c06d49f
owen-mc
authored
c06d49f
View commit details
Copy full SHA for c06d49f
Browse repository at this point
Improve redundant recover test coverage
Show description for 467f673
owen-mc
authored
467f673
View commit details
Copy full SHA for 467f673
Browse repository at this point
More tests for non-returning functions
Show description for cf21a48
owen-mc
authored
cf21a48
View commit details
Copy full SHA for cf21a48
Browse repository at this point
Test semantic invalid types in notype test
Show description for c904df6
owen-mc
authored
c904df6
View commit details
Copy full SHA for c904df6
Browse repository at this point
Make KeyValueExpr have the same type as its value
Show description for 439b8f7
owen-mc
authored
439b8f7
View commit details
Copy full SHA for 439b8f7
Browse repository at this point
Change mayReturnNormally to mustNotReturnNormally
Show description for d3c9d32
owen-mc
authored
d3c9d32
View commit details
Copy full SHA for d3c9d32
Browse repository at this point
Distinguish panic and exit in logrus
Show description for 0e8f8ee
owen-mc
authored
0e8f8ee
View commit details
Copy full SHA for 0e8f8ee
Browse repository at this point
Model `logrus.Exit` like `os.Exit`
Show description for cf74b4b
owen-mc
authored
cf74b4b
View commit details
Copy full SHA for cf74b4b
Browse repository at this point
Update two queries so alert locations don't change
Show description for fd7288b
owen-mc
authored
fd7288b
View commit details
Copy full SHA for fd7288b
Browse repository at this point
Make synthetic RangeElementExpr during extraction
Show description for 7c557d4
owen-mc
authored
7c557d4
View commit details
Copy full SHA for 7c557d4
Browse repository at this point
Switch to using shared CFG library
Show description for 852dd81
owen-mc
authored
852dd81
View commit details
Copy full SHA for 852dd81
Browse repository at this point
Add go/print-cfg
Show description for 0cffa75
owen-mc
authored
0cffa75
View commit details
Copy full SHA for 0cffa75
Browse repository at this point
Add Go CFG consistency query
Show description for 9ebc55e
owen-mc
authored
9ebc55e
View commit details
Copy full SHA for 9ebc55e
Browse repository at this point
fold implicit-one operand into incdec-rhs instruction
Show description for d865dce
owen-mc
authored
d865dce
View commit details
Copy full SHA for d865dce
Browse repository at this point
fold compound-assign write into the compound-rhs instruction
Show description for 67526ba
owen-mc
authored
67526ba
View commit details
Copy full SHA for 67526ba
Browse repository at this point
drop implicit slice-bound nodes
Show description for 9a4251f
owen-mc
authored
9a4251f
View commit details
Copy full SHA for 9a4251f
Browse repository at this point
Merge 'result-init' node into 'result-zero-init'
Show description for 70dc75c
owen-mc
authored
70dc75c
View commit details
Copy full SHA for 70dc75c
Browse repository at this point
Fold implicit literal element index into the lit-init node
Show description for d5a786f
owen-mc
authored
d5a786f
View commit details
Copy full SHA for d5a786f
Browse repository at this point
Fold uninitialised var-decl zero-init and write into one node
Show description for a677877
owen-mc
authored
a677877
View commit details
Copy full SHA for a677877
Browse repository at this point
Fold tuple-destructuring extract and write into one node
Show description for e895362
owen-mc
authored
e895362
View commit details
Copy full SHA for e895362
Browse repository at this point
Unify result-zero-init and zero-init node kinds
Show description for 1506ce4
owen-mc
authored
1506ce4
View commit details
Copy full SHA for 1506ce4
Browse repository at this point
Simplify zero-init code after unifying result-zero-init
Show description for dc21afb
owen-mc
authored
dc21afb
View commit details
Copy full SHA for dc21afb
Browse repository at this point
Unify incdec-rhs into the compound-rhs node kind
Show description for 6a79a06
owen-mc
authored
6a79a06
View commit details
Copy full SHA for 6a79a06
Browse repository at this point
No CFG nodes for subexprs of const exprs
Show description for 7b31f3a
owen-mc
authored
7b31f3a
View commit details
Copy full SHA for 7b31f3a
Browse repository at this point
Add change note
Show description for 4e52189
owen-mc
authored
4e52189
View commit details
Copy full SHA for 4e52189
Browse repository at this point
Go: instantiate the shared guards library
Show description for 7b2e075
Claude
and
owen-mc
committed
7b2e075
View commit details
Copy full SHA for 7b2e075
Browse repository at this point
Go: migrate simple ConditionGuardNode uses to the shared guards library
Show description for ea619de
Claude
and
owen-mc
committed
ea619de
View commit details
Copy full SHA for ea619de
Browse repository at this point
Go: migrate remaining ConditionGuardNode uses to the shared guards library
Show description for 19d7fbf
Claude
and
owen-mc
committed
19d7fbf
View commit details
Copy full SHA for 19d7fbf
Browse repository at this point
Go: deprecate ConditionGuardNode
Claude
authored and
owen-mc
committed
def5d61
View commit details
Copy full SHA for def5d61
Browse repository at this point
You can’t perform that action at this time.