Documentation ¶
Index ¶
- type TaintSwitcher
- func (s *TaintSwitcher) CaseAlloc(inst *ssa.Alloc)
- func (s *TaintSwitcher) CaseBinOp(inst *ssa.BinOp)
- func (s *TaintSwitcher) CaseCall(inst *ssa.Call)
- func (s *TaintSwitcher) CaseChangeInterface(inst *ssa.ChangeInterface)
- func (s *TaintSwitcher) CaseChangeType(inst *ssa.ChangeType)
- func (s *TaintSwitcher) CaseConvert(inst *ssa.Convert)
- func (s *TaintSwitcher) CaseExtract(inst *ssa.Extract)
- func (s *TaintSwitcher) CaseField(inst *ssa.Field)
- func (s *TaintSwitcher) CaseFieldAddr(inst *ssa.FieldAddr)
- func (s *TaintSwitcher) CaseIndex(inst *ssa.Index)
- func (s *TaintSwitcher) CaseIndexAddr(inst *ssa.IndexAddr)
- func (s *TaintSwitcher) CaseLookup(inst *ssa.Lookup)
- func (s *TaintSwitcher) CaseMakeChan(inst *ssa.MakeChan)
- func (s *TaintSwitcher) CaseMakeClosure(inst *ssa.MakeClosure)
- func (s *TaintSwitcher) CaseMakeInterface(inst *ssa.MakeInterface)
- func (s *TaintSwitcher) CaseMakeMap(inst *ssa.MakeMap)
- func (s *TaintSwitcher) CaseMakeSlice(inst *ssa.MakeSlice)
- func (s *TaintSwitcher) CaseMapUpdate(inst *ssa.MapUpdate)
- func (s *TaintSwitcher) CaseNext(inst *ssa.Next)
- func (s *TaintSwitcher) CasePhi(inst *ssa.Phi)
- func (s *TaintSwitcher) CaseRange(inst *ssa.Range)
- func (s *TaintSwitcher) CaseReturn(inst *ssa.Return)
- func (s *TaintSwitcher) CaseSelect(inst *ssa.Select)
- func (s *TaintSwitcher) CaseSend(inst *ssa.Send)
- func (s *TaintSwitcher) CaseSlice(inst *ssa.Slice)
- func (s *TaintSwitcher) CaseStore(inst *ssa.Store)
- func (s *TaintSwitcher) CaseTypeAssert(inst *ssa.TypeAssert)
- func (s *TaintSwitcher) CaseUnOp(inst *ssa.UnOp)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaintSwitcher ¶
type TaintSwitcher struct { switcher.BaseSwitcher // contains filtered or unexported fields }
TaintSwitcher represents a switcher for taint analysis
func (*TaintSwitcher) CaseAlloc ¶
func (s *TaintSwitcher) CaseAlloc(inst *ssa.Alloc)
CaseAlloc accepts a Alloc instruction
func (*TaintSwitcher) CaseBinOp ¶
func (s *TaintSwitcher) CaseBinOp(inst *ssa.BinOp)
CaseBinOp accepts a BinOp instruction
func (*TaintSwitcher) CaseCall ¶
func (s *TaintSwitcher) CaseCall(inst *ssa.Call)
CaseCall accepts a Call instruction
func (*TaintSwitcher) CaseChangeInterface ¶
func (s *TaintSwitcher) CaseChangeInterface(inst *ssa.ChangeInterface)
CaseChangeInterface accepts a ChangeInterface instruction
func (*TaintSwitcher) CaseChangeType ¶
func (s *TaintSwitcher) CaseChangeType(inst *ssa.ChangeType)
CaseChangeType accepts a ChangeType instruction
func (*TaintSwitcher) CaseConvert ¶
func (s *TaintSwitcher) CaseConvert(inst *ssa.Convert)
CaseConvert accepts a Convert instruction
func (*TaintSwitcher) CaseExtract ¶
func (s *TaintSwitcher) CaseExtract(inst *ssa.Extract)
CaseExtract accepts a Extract instruction
func (*TaintSwitcher) CaseField ¶
func (s *TaintSwitcher) CaseField(inst *ssa.Field)
CaseField accepts a Field instruction
func (*TaintSwitcher) CaseFieldAddr ¶
func (s *TaintSwitcher) CaseFieldAddr(inst *ssa.FieldAddr)
CaseFieldAddr accepts a FieldAddr instruction
func (*TaintSwitcher) CaseIndex ¶
func (s *TaintSwitcher) CaseIndex(inst *ssa.Index)
CaseIndex accepts an Index instruction
func (*TaintSwitcher) CaseIndexAddr ¶
func (s *TaintSwitcher) CaseIndexAddr(inst *ssa.IndexAddr)
CaseIndexAddr accepts an IndexAddr instruction
func (*TaintSwitcher) CaseLookup ¶
func (s *TaintSwitcher) CaseLookup(inst *ssa.Lookup)
CaseLookup accepts a Lookup instruction
func (*TaintSwitcher) CaseMakeChan ¶
func (s *TaintSwitcher) CaseMakeChan(inst *ssa.MakeChan)
CaseMakeChan accepts a MakeChan instruction
func (*TaintSwitcher) CaseMakeClosure ¶
func (s *TaintSwitcher) CaseMakeClosure(inst *ssa.MakeClosure)
CaseMakeClosure accepts a MakeClosure instruction
func (*TaintSwitcher) CaseMakeInterface ¶
func (s *TaintSwitcher) CaseMakeInterface(inst *ssa.MakeInterface)
CaseMakeInterface accepts a MakeInterface instruction
func (*TaintSwitcher) CaseMakeMap ¶
func (s *TaintSwitcher) CaseMakeMap(inst *ssa.MakeMap)
CaseMakeMap accepts a MakeMap instruction
func (*TaintSwitcher) CaseMakeSlice ¶
func (s *TaintSwitcher) CaseMakeSlice(inst *ssa.MakeSlice)
CaseMakeSlice accepts a MakeSlice instruction
func (*TaintSwitcher) CaseMapUpdate ¶
func (s *TaintSwitcher) CaseMapUpdate(inst *ssa.MapUpdate)
CaseMapUpdate accepts a MapUpdate instruction
func (*TaintSwitcher) CaseNext ¶
func (s *TaintSwitcher) CaseNext(inst *ssa.Next)
CaseNext accepts a Next instruction
func (*TaintSwitcher) CasePhi ¶
func (s *TaintSwitcher) CasePhi(inst *ssa.Phi)
CasePhi accepts a Phi instruction
func (*TaintSwitcher) CaseRange ¶
func (s *TaintSwitcher) CaseRange(inst *ssa.Range)
CaseRange accepts a Range instruction
func (*TaintSwitcher) CaseReturn ¶
func (s *TaintSwitcher) CaseReturn(inst *ssa.Return)
CaseReturn accepts a Return instruction
func (*TaintSwitcher) CaseSelect ¶
func (s *TaintSwitcher) CaseSelect(inst *ssa.Select)
CaseSelect accepts a Select instruction
func (*TaintSwitcher) CaseSend ¶
func (s *TaintSwitcher) CaseSend(inst *ssa.Send)
CaseSend accepts a Send instruction
func (*TaintSwitcher) CaseSlice ¶
func (s *TaintSwitcher) CaseSlice(inst *ssa.Slice)
CaseSlice accepts a Slice instruction
func (*TaintSwitcher) CaseStore ¶
func (s *TaintSwitcher) CaseStore(inst *ssa.Store)
CaseStore accepts a Store instruction
func (*TaintSwitcher) CaseTypeAssert ¶
func (s *TaintSwitcher) CaseTypeAssert(inst *ssa.TypeAssert)
CaseTypeAssert accepts a TypeAssert instruction
func (*TaintSwitcher) CaseUnOp ¶
func (s *TaintSwitcher) CaseUnOp(inst *ssa.UnOp)
CaseUnOp accepts a UnOp instruction