Discover Packages
github.com/system-pclub/GCatch
GCatch
tools
go
analysis
passes
ctrlflow
package
Version:
v0.0.0-...-f39ad0c
Opens a new window with list of versions in this module.
Published: Jun 23, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ctrlflow is an analysis that provides a syntactic
control-flow graph (CFG) for the body of a function.
It records whether a function cannot return.
By itself, it does not report any diagnostics.
A CFGs holds the control-flow graphs
for all the functions of the current package.
FuncDecl returns the control-flow graph for a named function.
It returns nil if decl.Body==nil.
FuncLit returns the control-flow graph for a literal function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.