Versions in this module Expand all Collapse all v1 v1.0.0 Jan 10, 2019 Changes in this version + var ErrPtaInternal = errors.New("internal error: pointer analysis failed") + func MainPkg(prog *ssa.Program) *ssa.Package + type ChanOp struct + Pos token.Pos + Type ChanOpType + Value ssa.Value + type ChanOpType int + const ChanClose + const ChanMake + const ChanRecv + const ChanSend + type Config struct + BadPkgs map[string]string + BuildLog io.Writer + BuildMode Mode + Files []string + LogFlags int + PtaLog io.Writer + Source string + func NewConfig(files []string) (*Config, error) + func NewConfigFromString(s string) (*Config, error) + func (conf *Config) Build() (*SSAInfo, error) + type Members []ssa.Member + func (m Members) Len() int + func (m Members) Less(i, j int) bool + func (m Members) Swap(i, j int) + type Mode uint + const FromFiles + const FromString + type SSAInfo struct + BuildConf *Config + FSet *token.FileSet + IgnoredPkgs []string + Logger *log.Logger + Prog *ssa.Program + PtaConf *pointer.Config + func (info *SSAInfo) CallGraph() *callgraph.Node + func (info *SSAInfo) DecodePos(pos token.Pos) token.Position + func (info *SSAInfo) FindChan(ch ssa.Value) []ChanOp + func (info *SSAInfo) NewPta(vals ...ssa.Value) *pointer.Result + func (info *SSAInfo) WriteAll(w io.Writer) (int64, error) + func (info *SSAInfo) WriteTo(w io.Writer) (int64, error)