package
0.0.0-20240927105425-f6cbe64b58da
Repository: https://github.com/gxde-os/golang-gxde-dev.git
Documentation: pkg.go.dev
# Functions
AllFunctions finds and returns the set of functions potentially needed by program prog, as determined by a simple linker-style reachability algorithm starting from the members and method-sets of each package.
BuildPackage builds an SSA program with IR for a single package.
CreateProgram returns a new program in SSA form, given a program loaded from source.
MainPackages returns the subset of the specified packages named "main" that define a main function.
Switches examines the control-flow graph of fn and returns the set of inferred value and type switches.