Discover Packages
github.com/songlh/gcatch
GCatch
tools
go
analysis
passes
ctrlflow
package
Version:
v0.0.0-...-3f344d0
Opens a new window with list of versions in this module.
Published: Dec 19, 2021
License: GPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
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.