What happens during a #TYPO3 #v13 frontend call? #DDEV integrates the #PHP #Profiler #XHProf which visualizes the process as a #svg #callgraph. This will be useful for research in our #Translation Handling #Initiative. Are you able to follow the path? 🕸️😄 https://www.youtube.com/watch?v=HMInYFu1LqU
TYPO3 13.0.0-dev Callgraph by XHProf

YouTube

@joxean I think a fine-grained callgraph including call site information would break this tie.

Match the call sites in the two binaries, using instruction-level comparisons. You can then differentiate between the two call edges, based on which call site they are from.

#BinaryDiffing #CallGraph #Diaphora

I'm happy to share that I just released #MetaCG version 0.5.0 \o/

Besides a number of important bug fixes, we have *finally* reworked some internals that gave us a great performance improvement. For several use cases from minutes to seconds.
Thank you so much to everybody who contributed.

If your curious, check it out at https://github.com/tudasc/MetaCG

#HPC #ProgramAnalysis #CallGraph #TUDaSC

GitHub - tudasc/MetaCG: MetaCG offers an annotated whole program call-graph tool for Clang/LLVM.

MetaCG offers an annotated whole program call-graph tool for Clang/LLVM. - tudasc/MetaCG

GitHub

@ehmatthes you could roll your own with Python's ast module, I reckon.

Try  CodeQL for this (free for open source). It'd be pretty easy to get call graph nodes and edges and make a GraphViz diagram (or other graph):
https://github.com/github/codeql/discussions/8063

Another option would be TreeSitter, again by . There's a  crate for making graphs from TreeSitter: https://github.com/tree-sitter/tree-sitter-graph

(I work at GitHub)

Joern also supports Python: https://docs.joern.io/cpgql/calls/

#callgraph #python #codeql

How to write query to get Call Graph in python? · Discussion #8063 · github/codeql

And I want to use @kind graph to draw a graph. Although I find the FunctionInvocation in the CallGraph module, it's hard to get what I want.

GitHub

#sourceReading
#callGraph
#graphViz

1ソースから画像化したコールグラフ。

エントリポイントがどこからコールされるかを追記したい気がする。

Draw.ioに画像を読込ませて書く、などはできそうではあるが、手間ではある。
InkScapeで書くとしても、そのファイルを管理することになる。