hex0punk / wally

Function callpath mapping analysis tool for Go
Mozilla Public License 2.0
28 stars 0 forks source link

stop search when `pkg.[init] :0:0 --->` is found #60

Closed hex0punk closed 3 months ago

hex0punk commented 3 months ago

in DFS, once we get to a func in a place such as

var (
  myVar = foo()
)

we start getting nodes such as

pkg.[init] :0:0 --->

at which point we should stop