MCPcopy Create free account
hub / github.com/akwick/gotcha / DoAnalysis

Function DoAnalysis

worklist/worklist.go:76–111  ·  view source on GitHub ↗

DoAnalysis handles the worklist algorithm. path is the relative path starting from $GOPATH sourcefiles are the source file which should be analyzed. sourceAndSinkFile is the file which contains the sources and sinks. error will be returned if an error occurs during execution. If a flow from a source

(path string, sourcefiles []string, sourceAndSinkFile string, allpkgs bool, pkgs string, ptr bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BenchmarkDoAnalysisFunction · 0.85

Calls 10

wlInitFunction · 0.85
updateEntryContextFunction · 0.85
flowFunction · 0.85
checkAndHandleReturnFunction · 0.85
loggingFunction · 0.85
EmptyMethod · 0.80
RemoveFirstMethod · 0.80
CheckAndHandleChangeMethod · 0.80
NumberOfFlowsMethod · 0.80
StringMethod · 0.65

Tested by 1

BenchmarkDoAnalysisFunction · 0.68