diff --git a/go/callgraph/rta/rta.go b/go/callgraph/rta/rta.go index 1a2dadf5..e6b44606 100644 --- a/go/callgraph/rta/rta.go +++ b/go/callgraph/rta/rta.go @@ -184,7 +184,7 @@ func (r *rta) visitDynCall(site ssa.CallInstruction) { r.dynCallSites.Set(S, append(sites, site)) // For each function of signature S that we know is address-taken, - // mark it reachable. We'll add the callgraph edges later. + // add an edge and mark it reachable. funcs, _ := r.addrTakenFuncsBySig.At(S).(map[*ssa.Function]bool) for g := range funcs { r.addEdge(site, g, true)