MCPcopy Create free account

hub / github.com/akwick/gotcha / functions

Functions454 in github.com/akwick/gotcha

↓ 1 callersFunctionsink
(s string)
tests/exampleCode/structTest.go:19
↓ 1 callersFunctionsink
Sink is a sink
tests/exampleCode/simpleLinkedListOnlyTaint.go:75
↓ 1 callersFunctionsink
(s string)
tests/exampleCode/structTestV3RefSimple.go:19
↓ 1 callersFunctionsink
(s string)
tests/exampleCode/exampleThesis.go:25
↓ 1 callersFunctionsink
(s *string)
tests/exampleCode/contextsenPtr.go:16
↓ 1 callersFunctionsink
(s string)
tests/exampleCode/sinkSourceSimple.go:7
↓ 1 callersFunctionsink
(f func() string)
tests/exampleCode/pointerToFunc.go:9
↓ 1 callersFunctionsink
(s string)
tests/exampleCode/structTestV2.go:20
↓ 1 callersFunctionsource
Source returns a tainted string
tests/exampleCode/simpleLinkedList0.go:84
↓ 1 callersFunctionsource
()
tests/exampleCode/chanPaper3.go:18
↓ 1 callersFunctionsource
()
tests/exampleCode/structTestV3Ref.go:36
↓ 1 callersFunctionsource
()
tests/exampleCode/chanPaper1.go:22
↓ 1 callersFunctionsource
()
tests/exampleCode/structTest.go:22
↓ 1 callersFunctionsource
Source returns a tainted string
tests/exampleCode/simpleLinkedListOnlyTaint.go:79
↓ 1 callersFunctionsource
()
tests/exampleCode/sinkSourceV2NewVariable.go:15
↓ 1 callersFunctionsource
()
tests/exampleCode/structTestV3RefSimple.go:22
↓ 1 callersFunctionsource
()
tests/exampleCode/exampleThesis.go:29
↓ 1 callersFunctionsource
()
tests/exampleCode/aliasingThroughFields2.go:43
↓ 1 callersFunctionsource
()
tests/exampleCode/chanClosureNestedChangeValue.go:26
↓ 1 callersFunctionsource
()
tests/exampleCode/aliasingThroughFields.go:39
↓ 1 callersFunctionsource
()
tests/exampleCode/structTestV3Val.go:31
↓ 1 callersFunctionsource
()
tests/exampleCode/pointerChan.go:18
↓ 1 callersFunctionsource
()
tests/exampleCode/chanPaper2.go:26
↓ 1 callersFunctionsource
()
tests/exampleCode/sinkSourceV2.go:15
↓ 1 callersFunctionsource
()
tests/exampleCode/chanClosureChangeValueBeforeClosure.go:26
↓ 1 callersFunctionsource
()
tests/exampleCode/multipleChan.go:44
↓ 1 callersFunctionsource
()
tests/exampleCode/chanPaper0.go:18
↓ 1 callersFunctionsource
copied from 10_FuncAndVarDecl no guaranty for equality
tests/exampleCode/contextsenPtr.go:22
↓ 1 callersFunctionsource
()
tests/exampleCode/sinkSourceSimple.go:10
↓ 1 callersFunctionsource
()
tests/exampleCode/sinkSourceV2ChangeOrder.go:16
↓ 1 callersFunctionsource
()
tests/exampleCode/chanClosureChangeValue.go:26
↓ 1 callersFunctionsource
()
tests/exampleCode/structTestV4.go:35
↓ 1 callersFunctionsource
()
tests/exampleCode/structTestV2.go:23
↓ 1 callersFunctionupdateNewVC
(vc *ValueContext, ps []ssa.Value, c *ContextCallSite, callee *ssa.Function, call ssa.Instruction)
worklist/wlHelper.go:416
↓ 1 callersMethodvcKnown
(vc *ValueContext, params []ssa.Value)
worklist/valueContext.go:138
MethodAddCall
(ci ssa.CallInstruction)
ssabuilder/chanSend.go:26
MethodAddData
AddData adds a new element to the end of l.
tests/exampleCode/simpleLinkedListOnlyTaint.go:43
FunctionBenchmarkDoAnalysis
(b *testing.B)
worklist/worklist_test.go:43
FunctionBenchmarkInitContext
(b *testing.B)
worklist/worklist_test.go:36
FunctionBenchmarkStructTEstV3Ref
(b *testing.B)
tests/bench_test.go:24
FunctionBenchmarkStructTEstV3Val
(b *testing.B)
tests/bench_test.go:21
FunctionBenchmarkStructTest
(b *testing.B)
tests/bench_test.go:15
FunctionBenchmarkStructTestV2
(b *testing.B)
tests/bench_test.go:18
MethodBottomElement
BottomElement returns the lowest element of the lattice.
lattice/taint/taintLattice.go:401
MethodBottomLattice
()
lattice/taint/taintLatticePointer.go:92
MethodBottomLattice
BottomLattice sets for all elements of the lattice the value to empty.
lattice/taint/taintLattice.go:322
FunctionBuild
Build returns the main package for given sourcefiles.
ssabuilder/build.go:14
MethodDeepCopy
()
lattice/taint/taintLatticePointer.go:102
MethodEqual
Equal returns true if l1 == l2
lattice/lattice.go:22
MethodEqual
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:76
MethodEqual
Equal tests whether two context callsites are equal
worklist/contextCallSite.go:49
MethodEqual
Equal tests whether two transitions are equal
worklist/transition.go:20
MethodEqual
(i VcIdentifier)
worklist/valueContext.go:66
MethodEqual
Equal returns true if the both vale contextes are equal. Comparision is based upon the method, the Lattices and the id.
worklist/valueContext.go:301
MethodGetProgram
()
ssabuilder/ssaHelper.go:56
MethodGetSend
()
ssabuilder/chanSend.go:22
MethodGreater
Greater returns true if l1 > l2
lattice/lattice.go:26
MethodGreater
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:84
MethodGreaterEqual
GreaterEqual returns true if l1 >= l2
lattice/lattice.go:28
MethodGreaterEqual
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:88
MethodGreaterEqual
GreaterEqual computes: l1 >= l2
lattice/taint/taintLattice.go:308
MethodGreatestLowerBound
GreatestLowerBound returns the glb of two lattices
lattice/lattice.go:16
MethodGreatestLowerBound
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:48
MethodGreatestLowerBound
GreatestLowerBound computes the greatest lower bound of two lattices. In the current implementation an error (ErrOnlyTaintLatAcc) will be returned if
lattice/taint/taintLattice.go:120
MethodGreatestLowerBound
GreatestLowerBound build the greatest lower bound of tlv and lv. Returns an error (ErrOnlyTaintValueAcc) if lv is not a taint.Value.
lattice/taint/taintLattice.go:422
FunctionLUPOverLabels
LUPOverLabels iterates through all labels of a pointsToSet and returns the result of the LUP.
lattice/taint/flow_helper.go:68
MethodLeastElement
()
lattice/taint/taintLatticePointer.go:60
MethodLeastUpperBound
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:36
MethodLeastUpperBound
LeastUpperBound creates the leastUpperBound of two Lattices. In the current implementation an error (ErrOnlyTaintLatAcc) will be returned if l2 is not
lattice/taint/taintLattice.go:54
MethodLeastUpperBound
LeastUpperBound build the least upper bound of tlv and lv. Returns an error (ErrOnlyTaintLatAcc) if lv is not a taint.Value.
lattice/taint/taintLattice.go:412
MethodLess
Less returns true if l1 < l2
lattice/lattice.go:20
MethodLess
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:72
MethodLessEqual
LessEqual returns true if l1 <= l2
lattice/lattice.go:24
MethodLessEqual
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:80
MethodLessEqual
LessEqual computes: l1 <= l2. Throws an error if t2 is not of type taint.Lattice.
lattice/taint/taintLattice.go:256
MethodNewEntryValue
NewEntryValue updates the entryValue of v with a least upper bound with ev.
worklist/valueContext.go:327
FunctionNewList
NewList creates a new linked list with s as first element.
tests/exampleCode/h/linkedList.go:13
FunctionNewSsaHelper
(path string, sourcefiles []string)
ssabuilder/ssaHelper.go:23
MethodReferrers
()
lattice/taint/ssaValMock.go:25
FunctionReplaceSend
ReplaceSend replaces the ssa.Send with the Send implemented in this package
ssabuilder/build.go:32
MethodSet
Set is part of the flag.Value interface and set the flag value Only files with suffix .go are allowed.
start.go:69
MethodSetFunction
SetFunction sets the function of a value context to f
worklist/valueContext.go:38
MethodSetFunction
(f *ssa.Function)
worklist/valueContext.go:62
MethodSetIn
SetIn sets l to the input lattice for c. new_in = LUP(old_in, l) TODO: handle the error.
worklist/contextCallSite.go:80
MethodSetIn
SetIn sets the in lattice to l TODO implement update
worklist/valueContext.go:54
MethodSetPtr
SetPtr sets the ptr as the pointer for the key
lattice/lattice.go:48
MethodSetPtr
(key ssa.Value, ptr pointer.Pointer)
lattice/taint/taintLatticePointer.go:125
MethodSetSend
(s *ssa.Send)
ssabuilder/chanSend.go:18
MethodSetVal
(key ssa.Value, value lattice.Valuer)
lattice/taint/taintLatticePointer.go:117
MethodSetVal
SetVal sets the lattice value of key to value.
lattice/taint/taintLattice.go:375
MethodSetupSuite
()
lattice/taint/parser_test.go:14
FunctionSink
Sink is a sink
tests/exampleCode/h/sinkSource.go:4
FunctionSource
Source returns a tainted string
tests/exampleCode/h/sinkSource.go:8
MethodString
String is part of the flag.Value interface The output will be used in diagnostics
start.go:63
MethodString
String returns a readable string of the lattice
lattice/lattice.go:34
MethodString
()
lattice/taint/parser.go:28
MethodString
String returns a string representation of l1.
lattice/taint/taintLattice.go:340
MethodString
String returns a string representation of tlv.
lattice/taint/taintLattice.go:491
MethodString
()
lattice/taint/ssaValMock.go:19
MethodString
()
ssabuilder/chanSend.go:14
← previousnext →201–300 of 454, ranked by callers