Documentation
¶
Index ¶
- func CopyLockSet(lockSet map[string]bool) map[string]bool
- func ReportPotentialDataRace(varAccessInfo, sharedVarAccess *VarAccessInfo)
- type GoRoutineCreator
- type Linter
- func (l *Linter) Analysis()
- func (l *Linter) HasVarDataRace(varAccessInfo, sharedVarAccessInfo *VarAccessInfo) bool
- func (l *Linter) IsGoRoutine(fullFuncID string) bool
- func (l *Linter) ParseGlobalElements() *Linter
- func (l *Linter) ParseSSAFunctions() (*Linter, error)
- func (l *Linter) SearchVarID(varAccessID string) string
- type VarAccessInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportPotentialDataRace ¶
func ReportPotentialDataRace(varAccessInfo, sharedVarAccess *VarAccessInfo)
Types ¶
type GoRoutineCreator ¶
type Linter ¶
type Linter struct { GlobalVarMap map[string]string GoRoutineMap map[string]bool GoRoutineCreatorMap map[string]*GoRoutineCreator SSAFuncMap map[*ssa.Function]bool FilePath string }
func (*Linter) HasVarDataRace ¶
func (l *Linter) HasVarDataRace(varAccessInfo, sharedVarAccessInfo *VarAccessInfo) bool
func (*Linter) IsGoRoutine ¶
func (*Linter) ParseGlobalElements ¶
func (*Linter) ParseSSAFunctions ¶
func (*Linter) SearchVarID ¶
Click to show internal directories.
Click to hide internal directories.