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
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
10.1k
Code
Issues
998
Pull requests
468
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Go: migrate control flow graph to shared CFG library
- #21614
#21614
Closed
owen-mc
with
Copilot
wants to merge 79 commits into
main
github/codeql:main
from
copilot/vscode-mndb17m3-9fpv
github/codeql:copilot/vscode-mndb17m3-9fpv
Copy head branch name to clipboard
Conversation
Commits
79
(79)
Checks
Findings
Files changed
Closed
Go: migrate control flow graph to shared CFG library
#21614
owen-mc
with
Copilot
wants to merge 79 commits into
main
github/codeql:main
from
copilot/vscode-mndb17m3-9fpv
github/codeql:copilot/vscode-mndb17m3-9fpv
Copy head branch name to clipboard
Commits
Commits on Jul 9, 2026
Initial plan
Copilot
authored and
owen-mc
committed
6f93a71
View commit details
Copy full SHA for 6f93a71
Browse repository at this point
Incidental fix to `CaseClause.getAnExpr()`
owen-mc
committed
2a3be26
View commit details
Copy full SHA for 2a3be26
Browse repository at this point
Commits on Jul 10, 2026
Initial shared CFG library instantiation for Go
owen-mc
committed
d79920c
View commit details
Copy full SHA for d79920c
Browse repository at this point
Add go/print-cfg
owen-mc
committed
f8b0c11
View commit details
Copy full SHA for f8b0c11
Browse repository at this point
Create cfg node for child of ParenExpr
owen-mc
committed
718dad4
View commit details
Copy full SHA for 718dad4
Browse repository at this point
Model non-returning functions in CFG
owen-mc
committed
e319654
View commit details
Copy full SHA for e319654
Browse repository at this point
Tweak `getEnclosingCallable`
owen-mc
committed
d603cd4
View commit details
Copy full SHA for d603cd4
Browse repository at this point
Fix edges to function exit with result variables
owen-mc
committed
137db51
View commit details
Copy full SHA for 137db51
Browse repository at this point
Do not include comments in the CFG
owen-mc
committed
7a58784
View commit details
Copy full SHA for 7a58784
Browse repository at this point
Use shared CFG implementation of for loops
owen-mc
committed
a6931e3
View commit details
Copy full SHA for a6931e3
Browse repository at this point
Fix CFG for select statements
owen-mc
committed
e7927d2
View commit details
Copy full SHA for e7927d2
Browse repository at this point
Fix CFG for range loop
owen-mc
committed
3436e6c
View commit details
Copy full SHA for 3436e6c
Browse repository at this point
Include receivers in parameter init
owen-mc
committed
d488b32
View commit details
Copy full SHA for d488b32
Browse repository at this point
Fix global value numbering calculation
owen-mc
committed
cbad545
View commit details
Copy full SHA for cbad545
Browse repository at this point
Produce CFG nodes for more reference expressions, like selector bases
owen-mc
committed
56dc936
View commit details
Copy full SHA for 56dc936
Browse repository at this point
Fix CFG for return instructions
owen-mc
committed
15ed3ba
View commit details
Copy full SHA for 15ed3ba
Browse repository at this point
Control flow shouldn't enter another callable
owen-mc
committed
6284acc
View commit details
Copy full SHA for 6284acc
Browse repository at this point
Fix empty switch statements
owen-mc
committed
433722f
View commit details
Copy full SHA for 433722f
Browse repository at this point
Accept change in test output
Show description for 9d12edb
owen-mc
committed
9d12edb
View commit details
Copy full SHA for 9d12edb
Browse repository at this point
Restore `ExprNode` for `FuncLit`
owen-mc
committed
73204db
View commit details
Copy full SHA for 73204db
Browse repository at this point
update function-entry additional nodes
owen-mc
committed
cc47cef
View commit details
Copy full SHA for cc47cef
Browse repository at this point
Fix range loop CFG
owen-mc
committed
f9e25f6
View commit details
Copy full SHA for f9e25f6
Browse repository at this point
Fix lit-init nodes
Show description for e55eecf
owen-mc
committed
e55eecf
View commit details
Copy full SHA for e55eecf
Browse repository at this point
Use shared CFG `getIfInit`
owen-mc
committed
740e3a0
View commit details
Copy full SHA for 740e3a0
Browse repository at this point
Go: update expected node names
owen-mc
committed
e4cb405
View commit details
Copy full SHA for e4cb405
Browse repository at this point
Add Go CFG consistency query
owen-mc
committed
1f4bbe5
View commit details
Copy full SHA for 1f4bbe5
Browse repository at this point
Fix treatment of `ParenExpr`
owen-mc
committed
d908e78
View commit details
Copy full SHA for d908e78
Browse repository at this point
Restore `ConditionGuardNode`
owen-mc
committed
67b28d2
View commit details
Copy full SHA for 67b28d2
Browse repository at this point
Accept test output change names
owen-mc
committed
9ee3ecc
View commit details
Copy full SHA for 9ee3ecc
Browse repository at this point
Fix ConditionGuardNode
owen-mc
committed
94ccd7c
View commit details
Copy full SHA for 94ccd7c
Browse repository at this point
Fix CFG for expressionless switch statements
owen-mc
committed
819f076
View commit details
Copy full SHA for 819f076
Browse repository at this point
Accept changes
owen-mc
committed
8154ed6
View commit details
Copy full SHA for 8154ed6
Browse repository at this point
Include implicit type switch var in CFG
owen-mc
committed
2544cca
View commit details
Copy full SHA for 2544cca
Browse repository at this point
Allow overriding endAbruptCompletion for callables
owen-mc
committed
9a2f822
View commit details
Copy full SHA for 9a2f822
Browse repository at this point
Shared CFG: add callableExitStep hook for routing epilogue tails to exit nodes
owen-mc
committed
bb5f601
View commit details
Copy full SHA for bb5f601
Browse repository at this point
Go CFG: anchor result-read epilogue on Normal Exit via new hooks
owen-mc
committed
5438846
View commit details
Copy full SHA for 5438846
Browse repository at this point
Shared CFG: add hooks for reachability-gated exit epilogue
Show description for 0bca94f
owen-mc
committed
0bca94f
View commit details
Copy full SHA for 0bca94f
Browse repository at this point
Go CFG: run deferred calls at function exit in LIFO order
Show description for a57367d
owen-mc
committed
a57367d
View commit details
Copy full SHA for a57367d
Browse repository at this point
Fix calls for defer statements
owen-mc
committed
5d8a9e4
View commit details
Copy full SHA for 5d8a9e4
Browse repository at this point
Update query for unreachable statements
owen-mc
committed
75a833c
View commit details
Copy full SHA for 75a833c
Browse repository at this point
Migrate Go expression switch CFG to shared library; handle fallthrough via fallsThrough
Copilot
authored and
owen-mc
committed
ba7527c
View commit details
Copy full SHA for ba7527c
Browse repository at this point
Fix switch-case sanitizer edge for shared CFG and accept CFG expected
Copilot
authored and
owen-mc
committed
6167003
View commit details
Copy full SHA for 6167003
Browse repository at this point
Update SSA expected files for new shared-CFG node locations
Copilot
authored and
owen-mc
committed
e99ade7
View commit details
Copy full SHA for e99ade7
Browse repository at this point
Migrate Go type switches to shared CFG switch model (Option B)
Copilot
authored and
owen-mc
committed
6f15605
View commit details
Copy full SHA for 6f15605
Browse repository at this point
Small refactors
owen-mc
committed
0c0506e
View commit details
Copy full SHA for 0c0506e
Browse repository at this point
Fix break in select statements
owen-mc
committed
7dfe573
View commit details
Copy full SHA for 7dfe573
Browse repository at this point
Remove unused send instruction node
Show description for 0cb574f
owen-mc
committed
0cb574f
View commit details
Copy full SHA for 0cb574f
Browse repository at this point
Fix data flow through tuple extraction for f(g())
owen-mc
committed
cdbc19b
View commit details
Copy full SHA for cdbc19b
Browse repository at this point
Fix defer logic for panics
owen-mc
committed
e444730
View commit details
Copy full SHA for e444730
Browse repository at this point
Include ResultZeroInitInstruction in EvalImplicitInitInstruction
owen-mc
committed
f730c88
View commit details
Copy full SHA for f730c88
Browse repository at this point
Fix circular dependency
owen-mc
committed
4aaf735
View commit details
Copy full SHA for 4aaf735
Browse repository at this point
Fix return edges
owen-mc
committed
80ee840
View commit details
Copy full SHA for 80ee840
Browse repository at this point
Fix ParenExpr consistency test failures
owen-mc
committed
107717d
View commit details
Copy full SHA for 107717d
Browse repository at this point
Go: adopt ForeachStmt with destructuring
owen-mc
committed
832f844
View commit details
Copy full SHA for 832f844
Browse repository at this point
Only make implicit varargs slice node for reachable calls
owen-mc
committed
a3b3381
View commit details
Copy full SHA for a3b3381
Browse repository at this point
Fix InitLiteralComponentInstruction.getRhs() for key-value pairs
Show description for 45ef413
owen-mc
committed
45ef413
View commit details
Copy full SHA for 45ef413
Browse repository at this point
Give KeyValueExpr a type and fix notype test
owen-mc
committed
dc8dbac
View commit details
Copy full SHA for dc8dbac
Browse repository at this point
Test changes to be checked
owen-mc
committed
17deba8
View commit details
Copy full SHA for 17deba8
Browse repository at this point
Accept test result for improved GVN
Show description for 28bd631
owen-mc
committed
28bd631
View commit details
Copy full SHA for 28bd631
Browse repository at this point
Accept improved accuracy in redundant recover test
Show description for dfb90b3
owen-mc
committed
dfb90b3
View commit details
Copy full SHA for dfb90b3
Browse repository at this point
Accept test changes
owen-mc
committed
9236c3a
View commit details
Copy full SHA for 9236c3a
Browse repository at this point
Accept consistency query output
owen-mc
committed
d9b3f00
View commit details
Copy full SHA for d9b3f00
Browse repository at this point
Accept CFG changes
Show description for b6136a1
owen-mc
committed
b6136a1
View commit details
Copy full SHA for b6136a1
Browse repository at this point
Accept changes
owen-mc
committed
8d1fba3
View commit details
Copy full SHA for 8d1fba3
Browse repository at this point
Accept test result changes
Show description for c08b03f
owen-mc
committed
c08b03f
View commit details
Copy full SHA for c08b03f
Browse repository at this point
fold implicit-one operand into incdec-rhs instruction
Show description for 2bde73c
owen-mc
committed
2bde73c
View commit details
Copy full SHA for 2bde73c
Browse repository at this point
fold compound-assign write into the compound-rhs instruction
Show description for c85744e
owen-mc
committed
c85744e
View commit details
Copy full SHA for c85744e
Browse repository at this point
drop implicit slice-bound nodes
Show description for 27e86d8
owen-mc
committed
27e86d8
View commit details
Copy full SHA for 27e86d8
Browse repository at this point
Merge parameter 'arg' node into 'param-init'
Show description for 0c381d9
owen-mc
committed
0c381d9
View commit details
Copy full SHA for 0c381d9
Browse repository at this point
Merge 'result-init' node into 'result-zero-init'
Show description for 57951e2
owen-mc
committed
57951e2
View commit details
Copy full SHA for 57951e2
Browse repository at this point
Fold implicit literal element index into the lit-init node
Show description for f07ab45
owen-mc
committed
f07ab45
View commit details
Copy full SHA for f07ab45
Browse repository at this point
Remove redundant inConditionalContext
owen-mc
committed
01eabc8
View commit details
Copy full SHA for 01eabc8
Browse repository at this point
Simplify postOrInOrder
owen-mc
committed
193cd99
View commit details
Copy full SHA for 193cd99
Browse repository at this point
Use default goto handling
owen-mc
committed
1c60ffa
View commit details
Copy full SHA for 1c60ffa
Browse repository at this point
Fold uninitialised var-decl zero-init and write into one node
owen-mc
committed
d30162b
View commit details
Copy full SHA for d30162b
Browse repository at this point
Fold tuple-destructuring extract and write into one node
owen-mc
committed
c8f81bc
View commit details
Copy full SHA for c8f81bc
Browse repository at this point
Unify result-zero-init and zero-init node kinds
owen-mc
committed
992a0b5
View commit details
Copy full SHA for 992a0b5
Browse repository at this point
Commits on Jul 11, 2026
Simplify zero-init code after unifying result-zero-init
owen-mc
committed
6bb4aef
View commit details
Copy full SHA for 6bb4aef
Browse repository at this point
Unify incdec-rhs into the compound-rhs node kind
owen-mc
committed
8eaa86e
View commit details
Copy full SHA for 8eaa86e
Browse repository at this point
You can’t perform that action at this time.