Hi,
I tried using the following in the Wireshark dissector Lua plugin:
local luacov = require("luacov")
But, the plugin fails to load with the message
"~/.luarocks/share/lua/5.1/luacov/hook.lua:26:attempt to index global
'debug' (a function value)". I had filed a query to Luacov at:
https://github.com/keplerproject/luacov/issues/55
In luacov/hook.lua, the following debug function is being invoked:
-- Get name of processed file
local name = debug.getinfo(level, "S").source -- line #26
The Luacov author mentions that Wireshark is invoking the 'debug'
function instead of the 'debug' module. How can this be resolved?
Thanks!
SK
--
Shakthi Kannan
http://www.shakthimaan.com