callgraph: unclear calls in the output of callgraph tool
ilyas9797 opened this issue · 1 comments
Hi everyone. I came across some unclear result when used callgraph to analyze go-ethereum project. Could you give me a clue to find an explanation, please?
I used these commands to generate reports:
-
rta analysis:
callgraph github.com/ethereum/go-ethereum/cmd/geth > go-ethereum_call.txt
-
pta analysis:
callgraph -algo pta github.com/ethereum/go-ethereum/cmd/geth > go-ethereum_call_pta.txt
Specifically, I cannot understand this line which appears in both reports:
(github.com/ethereum/go-ethereum/log.funcHandler).Log --dynamic-36:10--> github.com/ethereum/go-ethereum/log.StreamHandler$1
This is supposed should be called here: https://github.com/ethereum/go-ethereum/blob/a9835c1816bc49ee54c82b4f2a5b05cbcd89881b/log/handler.go#L36
What is the reason that such dynamic call could occur and in which case it is possible?
I think you may have filed this against the wrong project. This is for godoc.org and associated tools, I think you need to make an issue under http://github.com/golang/tools since it owns golang.org/x/tools/cmd/callgraph
.