Documentation ¶
Index ¶
- func DecoupleTypeMethods(m map[string]bool) map[string]map[string]bool
- func GetBaseType(v ssa.Value) types.Type
- func GetEntryInsts(fn *ssa.Function) []ssa.Instruction
- func GetExitInsts(fn *ssa.Function) []ssa.Instruction
- func GetFirstInst(bb *ssa.BasicBlock) ssa.Instruction
- func GetIIndexBB(II ssa.Instruction) int
- func GetLastInst(bb *ssa.BasicBlock) ssa.Instruction
- func GetPrevInsts(inputInst ssa.Instruction) []ssa.Instruction
- func GetStructPointerMapping()
- func GetSuccInsts(inputInst ssa.Instruction) []ssa.Instruction
- func GetTypeMethods(t types.Type, m map[string]bool, mVisited map[types.Type]bool)
- func GetValueName(v ssa.Value) string
- func IsFirstDefer(ii ssa.Instruction) bool
- func IsFnBegin(ii ssa.Instruction) bool
- func IsFnEnd(ii ssa.Instruction) bool
- func IsInstCallFatal(inst ssa.Instruction) bool
- func IsInstInVec(inst ssa.Instruction, vec []ssa.Instruction) bool
- func PrintTypeMethods(m map[string]map[string]bool)
- func ReadFileLine(filename string, n int) (string, error)
- func SplitStr2Map(strTarget string, strSep string) map[string]bool
- func VecFnForVecInst(vecInst []ssa.Instruction) []*ssa.Function
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEntryInsts ¶
func GetEntryInsts(fn *ssa.Function) []ssa.Instruction
according to the annotation of ssa.Function, a function only has one normal entry BB and one optional recover BB. There is no need to analyze the recover BB. No BB can reach it and it reaches no BB
func GetExitInsts ¶
func GetExitInsts(fn *ssa.Function) []ssa.Instruction
func GetFirstInst ¶
func GetFirstInst(bb *ssa.BasicBlock) ssa.Instruction
func GetIIndexBB ¶
func GetIIndexBB(II ssa.Instruction) int
func GetLastInst ¶
func GetLastInst(bb *ssa.BasicBlock) ssa.Instruction
func GetPrevInsts ¶
func GetPrevInsts(inputInst ssa.Instruction) []ssa.Instruction
func GetStructPointerMapping ¶
func GetStructPointerMapping()
func GetSuccInsts ¶
func GetSuccInsts(inputInst ssa.Instruction) []ssa.Instruction
func GetTypeMethods ¶
func GetValueName ¶
func IsFirstDefer ¶
func IsFirstDefer(ii ssa.Instruction) bool
func IsFnBegin ¶
func IsFnBegin(ii ssa.Instruction) bool
func IsFnEnd ¶
func IsFnEnd(ii ssa.Instruction) bool
func IsInstCallFatal ¶
func IsInstCallFatal(inst ssa.Instruction) bool
func IsInstInVec ¶
func IsInstInVec(inst ssa.Instruction, vec []ssa.Instruction) bool
func PrintTypeMethods ¶
func VecFnForVecInst ¶
func VecFnForVecInst(vecInst []ssa.Instruction) []*ssa.Function
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.