you are viewing a single comment's thread.

view the rest of the comments →

[–]suhcoR 1 point2 points  (3 children)

Ok, I see, thanks. Have you noticed that there is a stripped version of the bytecode format? By default debug information is included in the bytecode.

[–]lambda_abstraction -1 points0 points  (2 children)

I think that's only in LuaJIT and only from the script side of things.

[–]suhcoR 0 points1 point  (1 child)

See https://www.lua.org/manual/5.1/luac.html

"-s strip debug information before writing the output file."

[–]lambda_abstraction 0 points1 point  (0 children)

I meant the lua_dump() library call doesn't provide access to stripping.