Documentation ¶
Index ¶
- Variables
- func CompareTwoMaps(map1 map[string]bool, map2 map[string]bool) bool
- func ConvertCondsToContraints(conds []stCond) string
- func Detect()
- func GenKillAnalysis(inputFn *ssa.Function)
- func GetLiveMutex(inputInst ssa.Instruction) map[string]bool
- func HandleBinOp(pBinOp *ssa.BinOp) string
- func HandleCall(pCall *ssa.Call) string
- func HandleVarOrInst(pValue ssa.Value) string
- func InitBeforeAfterMap(inputFn *ssa.Function)
- func InitGenKillMap(inputFn *ssa.Function)
- func Initialize()
- func IsDominatedbyShutdown(inputInst ssa.Instruction) bool
- func SearchDeferredUnlock(inputInst ssa.Instruction) []string
- type Assert
- type StSMTSet
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SMTBool = "Bool" SMTEQL = "=" SMTNot = "not" DefaultSorts = []string{"byte", "int", "int64", "bool", "string"} )
View Source
var AnalyzedFNs map[string]bool
View Source
var Bugs []ssa.Instruction
View Source
var (
CountSMTSet = 0
)
View Source
var FNOnlyContainUnlock map[string]string
Functions ¶
func ConvertCondsToContraints ¶
func ConvertCondsToContraints(conds []stCond) string
func GenKillAnalysis ¶
func GetLiveMutex ¶
func GetLiveMutex(inputInst ssa.Instruction) map[string]bool
func HandleBinOp ¶
func HandleCall ¶
func HandleVarOrInst ¶
func InitBeforeAfterMap ¶
func InitGenKillMap ¶
func Initialize ¶
func Initialize()
func IsDominatedbyShutdown ¶
func IsDominatedbyShutdown(inputInst ssa.Instruction) bool
func SearchDeferredUnlock ¶
func SearchDeferredUnlock(inputInst ssa.Instruction) []string
Types ¶
type StSMTSet ¶
type StSMTSet struct { DecSorts []stDecSort DecFns []stDecFn DefineSorts []stDefineSort DecConsts []stDecConst Asserts []Assert FinalConst stDecConst FinalAssert Assert Todo []ssa.Value Status string Index int }
func Conds2SMTSet ¶
func Conds2SMTSet(vecCond []stCond) (result *StSMTSet)
Click to show internal directories.
Click to hide internal directories.