[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Bytecode: Safe or not? / luac manual
- From: Stefan Reich <stefan.reich.maker.of.eye@...>
- Date: Sun, 30 Oct 2011 19:21:10 +0000
Hmm! Just found that "man luac" says:
-p load files but do not generate any output file. Used mainly
for syntax checking and for testing precompiled chunks: cor-
rupted files will probably generate errors when loaded. Lua
always performs a thorough integrity test on precompiled
chunks. Bytecode that passes this test is completely safe, in
the sense that it will not break the interpreter.
"Lua always performs a thorough integrity test on precompiled chunks"?
I thought everybody agreed that bytecode is unsafe in 5.1.
How can the contradiction be solved?