lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> You could try my lbci or parsing the output of luac -l:
>	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbci

I examined the code of lbci and used it to make my own static analysis
routine. The requirements for getting all of the line numbers and
matching them to names of functions are non-trivial, but it works!

The only thing I don't like about this is that it's tied to the private
interface of Lua, ie. it is version-dependent and needs access to the
complete Lua source in order to build. But things could be worse.

Thanks,

Dan.