Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akwick/gotcha
/ functions
Functions
454 in github.com/akwick/gotcha
⨍
Functions
454
◇
Types & classes
53
↓ 1 callers
Function
sink
(s string)
tests/exampleCode/structTest.go:19
↓ 1 callers
Function
sink
Sink is a sink
tests/exampleCode/simpleLinkedListOnlyTaint.go:75
↓ 1 callers
Function
sink
(s string)
tests/exampleCode/structTestV3RefSimple.go:19
↓ 1 callers
Function
sink
(s string)
tests/exampleCode/exampleThesis.go:25
↓ 1 callers
Function
sink
(s *string)
tests/exampleCode/contextsenPtr.go:16
↓ 1 callers
Function
sink
(s string)
tests/exampleCode/sinkSourceSimple.go:7
↓ 1 callers
Function
sink
(f func() string)
tests/exampleCode/pointerToFunc.go:9
↓ 1 callers
Function
sink
(s string)
tests/exampleCode/structTestV2.go:20
↓ 1 callers
Function
source
Source returns a tainted string
tests/exampleCode/simpleLinkedList0.go:84
↓ 1 callers
Function
source
()
tests/exampleCode/chanPaper3.go:18
↓ 1 callers
Function
source
()
tests/exampleCode/structTestV3Ref.go:36
↓ 1 callers
Function
source
()
tests/exampleCode/chanPaper1.go:22
↓ 1 callers
Function
source
()
tests/exampleCode/structTest.go:22
↓ 1 callers
Function
source
Source returns a tainted string
tests/exampleCode/simpleLinkedListOnlyTaint.go:79
↓ 1 callers
Function
source
()
tests/exampleCode/sinkSourceV2NewVariable.go:15
↓ 1 callers
Function
source
()
tests/exampleCode/structTestV3RefSimple.go:22
↓ 1 callers
Function
source
()
tests/exampleCode/exampleThesis.go:29
↓ 1 callers
Function
source
()
tests/exampleCode/aliasingThroughFields2.go:43
↓ 1 callers
Function
source
()
tests/exampleCode/chanClosureNestedChangeValue.go:26
↓ 1 callers
Function
source
()
tests/exampleCode/aliasingThroughFields.go:39
↓ 1 callers
Function
source
()
tests/exampleCode/structTestV3Val.go:31
↓ 1 callers
Function
source
()
tests/exampleCode/pointerChan.go:18
↓ 1 callers
Function
source
()
tests/exampleCode/chanPaper2.go:26
↓ 1 callers
Function
source
()
tests/exampleCode/sinkSourceV2.go:15
↓ 1 callers
Function
source
()
tests/exampleCode/chanClosureChangeValueBeforeClosure.go:26
↓ 1 callers
Function
source
()
tests/exampleCode/multipleChan.go:44
↓ 1 callers
Function
source
()
tests/exampleCode/chanPaper0.go:18
↓ 1 callers
Function
source
copied from 10_FuncAndVarDecl no guaranty for equality
tests/exampleCode/contextsenPtr.go:22
↓ 1 callers
Function
source
()
tests/exampleCode/sinkSourceSimple.go:10
↓ 1 callers
Function
source
()
tests/exampleCode/sinkSourceV2ChangeOrder.go:16
↓ 1 callers
Function
source
()
tests/exampleCode/chanClosureChangeValue.go:26
↓ 1 callers
Function
source
()
tests/exampleCode/structTestV4.go:35
↓ 1 callers
Function
source
()
tests/exampleCode/structTestV2.go:23
↓ 1 callers
Function
updateNewVC
(vc *ValueContext, ps []ssa.Value, c *ContextCallSite, callee *ssa.Function, call ssa.Instruction)
worklist/wlHelper.go:416
↓ 1 callers
Method
vcKnown
(vc *ValueContext, params []ssa.Value)
worklist/valueContext.go:138
Method
AddCall
(ci ssa.CallInstruction)
ssabuilder/chanSend.go:26
Method
AddData
AddData adds a new element to the end of l.
tests/exampleCode/simpleLinkedListOnlyTaint.go:43
Function
BenchmarkDoAnalysis
(b *testing.B)
worklist/worklist_test.go:43
Function
BenchmarkInitContext
(b *testing.B)
worklist/worklist_test.go:36
Function
BenchmarkStructTEstV3Ref
(b *testing.B)
tests/bench_test.go:24
Function
BenchmarkStructTEstV3Val
(b *testing.B)
tests/bench_test.go:21
Function
BenchmarkStructTest
(b *testing.B)
tests/bench_test.go:15
Function
BenchmarkStructTestV2
(b *testing.B)
tests/bench_test.go:18
Method
BottomElement
BottomElement returns the lowest element of the lattice.
lattice/taint/taintLattice.go:401
Method
BottomLattice
()
lattice/taint/taintLatticePointer.go:92
Method
BottomLattice
BottomLattice sets for all elements of the lattice the value to empty.
lattice/taint/taintLattice.go:322
Function
Build
Build returns the main package for given sourcefiles.
ssabuilder/build.go:14
Method
DeepCopy
()
lattice/taint/taintLatticePointer.go:102
Method
Equal
Equal returns true if l1 == l2
lattice/lattice.go:22
Method
Equal
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:76
Method
Equal
Equal tests whether two context callsites are equal
worklist/contextCallSite.go:49
Method
Equal
Equal tests whether two transitions are equal
worklist/transition.go:20
Method
Equal
(i VcIdentifier)
worklist/valueContext.go:66
Method
Equal
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
Method
GetProgram
()
ssabuilder/ssaHelper.go:56
Method
GetSend
()
ssabuilder/chanSend.go:22
Method
Greater
Greater returns true if l1 > l2
lattice/lattice.go:26
Method
Greater
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:84
Method
GreaterEqual
GreaterEqual returns true if l1 >= l2
lattice/lattice.go:28
Method
GreaterEqual
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:88
Method
GreaterEqual
GreaterEqual computes: l1 >= l2
lattice/taint/taintLattice.go:308
Method
GreatestLowerBound
GreatestLowerBound returns the glb of two lattices
lattice/lattice.go:16
Method
GreatestLowerBound
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:48
Method
GreatestLowerBound
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
Method
GreatestLowerBound
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
Function
LUPOverLabels
LUPOverLabels iterates through all labels of a pointsToSet and returns the result of the LUP.
lattice/taint/flow_helper.go:68
Method
LeastElement
()
lattice/taint/taintLatticePointer.go:60
Method
LeastUpperBound
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:36
Method
LeastUpperBound
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
Method
LeastUpperBound
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
Method
Less
Less returns true if l1 < l2
lattice/lattice.go:20
Method
Less
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:72
Method
LessEqual
LessEqual returns true if l1 <= l2
lattice/lattice.go:24
Method
LessEqual
(l2 lattice.Latticer)
lattice/taint/taintLatticePointer.go:80
Method
LessEqual
LessEqual computes: l1 <= l2. Throws an error if t2 is not of type taint.Lattice.
lattice/taint/taintLattice.go:256
Method
NewEntryValue
NewEntryValue updates the entryValue of v with a least upper bound with ev.
worklist/valueContext.go:327
Function
NewList
NewList creates a new linked list with s as first element.
tests/exampleCode/h/linkedList.go:13
Function
NewSsaHelper
(path string, sourcefiles []string)
ssabuilder/ssaHelper.go:23
Method
Referrers
()
lattice/taint/ssaValMock.go:25
Function
ReplaceSend
ReplaceSend replaces the ssa.Send with the Send implemented in this package
ssabuilder/build.go:32
Method
Set
Set is part of the flag.Value interface and set the flag value Only files with suffix .go are allowed.
start.go:69
Method
SetFunction
SetFunction sets the function of a value context to f
worklist/valueContext.go:38
Method
SetFunction
(f *ssa.Function)
worklist/valueContext.go:62
Method
SetIn
SetIn sets l to the input lattice for c. new_in = LUP(old_in, l) TODO: handle the error.
worklist/contextCallSite.go:80
Method
SetIn
SetIn sets the in lattice to l TODO implement update
worklist/valueContext.go:54
Method
SetPtr
SetPtr sets the ptr as the pointer for the key
lattice/lattice.go:48
Method
SetPtr
(key ssa.Value, ptr pointer.Pointer)
lattice/taint/taintLatticePointer.go:125
Method
SetSend
(s *ssa.Send)
ssabuilder/chanSend.go:18
Method
SetVal
(key ssa.Value, value lattice.Valuer)
lattice/taint/taintLatticePointer.go:117
Method
SetVal
SetVal sets the lattice value of key to value.
lattice/taint/taintLattice.go:375
Method
SetupSuite
()
lattice/taint/parser_test.go:14
Function
Sink
Sink is a sink
tests/exampleCode/h/sinkSource.go:4
Function
Source
Source returns a tainted string
tests/exampleCode/h/sinkSource.go:8
Method
String
String is part of the flag.Value interface The output will be used in diagnostics
start.go:63
Method
String
String returns a readable string of the lattice
lattice/lattice.go:34
Method
String
()
lattice/taint/parser.go:28
Method
String
String returns a string representation of l1.
lattice/taint/taintLattice.go:340
Method
String
String returns a string representation of tlv.
lattice/taint/taintLattice.go:491
Method
String
()
lattice/taint/ssaValMock.go:19
Method
String
()
ssabuilder/chanSend.go:14
← previous
next →
201–300 of 454, ranked by callers