README ¶ ssainspect This project is EXPERIMENTAL status. Do NOT use it for your production. Author Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables type Cursor func (c *Cursor) FirstInstr() bool func (c *Cursor) InCycle() bool type Inspector func New(funcs []*ssa.Function) *Inspector func (in *Inspector) Cursor() *Cursor func (in *Inspector) Next() bool Constants ¶ This section is empty. Variables ¶ View Source var Analyzer = &analysis.Analyzer{ Name: "ssainspect", Doc: "make ssainspect.Inspector", Run: runAnalyzer, Requires: []*analysis.Analyzer{ buildssa.Analyzer, }, ResultType: reflect.TypeOf((*Inspector)(nil)), } Functions ¶ This section is empty. Types ¶ type Cursor ¶ type Cursor struct { Func *ssa.Function Block *ssa.BasicBlock Instr ssa.Instruction InstrIndex int } func (*Cursor) FirstInstr ¶ func (c *Cursor) FirstInstr() bool func (*Cursor) InCycle ¶ func (c *Cursor) InCycle() bool type Inspector ¶ type Inspector struct { // contains filtered or unexported fields } func New ¶ func New(funcs []*ssa.Function) *Inspector func (*Inspector) Cursor ¶ func (in *Inspector) Cursor() *Cursor func (*Inspector) Next ¶ func (in *Inspector) Next() bool Source Files ¶ View all Source files analyzer.go ssainspect.go Click to show internal directories. Click to hide internal directories.