Versions in this module Expand all Collapse all v2 v2.0.2 Dec 6, 2022 Changes in this version + var ErrNoMainPkgs = errors.New("no main packages") + var ErrNoTestMainPkgs = errors.New("no main packages in tests") + func MainPkgs(prog *ssa.Program) ([]*ssa.Package, error) + type CallGraph struct + func (g *CallGraph) AllFunctions() ([]*ssa.Function, error) + func (g *CallGraph) UsedFunctions() ([]*ssa.Function, error) + func (g *CallGraph) WriteGraphviz(w io.Writer) error + type Info struct + BldLog io.Writer + FSet *token.FileSet + IgnoredPkgs []string + LProg *loader.Program + Logger *log.Logger + Prog *ssa.Program + PtaLog io.Writer + func (info *Info) BuildCallGraph(algo string, tests bool) (*CallGraph, error) + func (info *Info) FindFunc(path string) (*ssa.Function, error) + func (info *Info) PtrAnlysCfg(tests bool) (*pointer.Config, error) + func (info *Info) RunPtrAnlys(config *pointer.Config) (*pointer.Result, error) + func (info *Info) WriteAll(w io.Writer) (int64, error) + func (info *Info) WriteFunc(w io.Writer, funcPath string) (int64, error) + func (info *Info) WriteTo(w io.Writer) (int64, error) Other modules containing this package github.com/JorgeGCoelho/gospal