[ANN] Lua Callgraph Generator (lcg)

42 views
Skip to first unread message

Martin Eden

unread,
Jul 15, 2026, 1:22:33 PM (9 days ago) Jul 15
to lu...@googlegroups.com
Hello list,

I want to announce my latest obsession of past three days --
callgraph generator.

Basically it's wrapper over "luac -l". You give program path to
Lua source file. It will compile and process it's bytecode
to generate VM instructions sequences graphs.

Graphs (source file can have several closures, so there can be several
graphs) are stored into plaintext formats (.dot and .tgf) inside
./output/.

Layout and conversion to image can be nicely done by "dot" from
Graphviz suite.

  https://github.com/martin-eden/Lua-Callgraph

It's early prototype so I'm interested in your feedback.

-- Martin

Reply all
Reply to author
Forward
0 new messages