lua-users home
lua-l archive

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


> probably the best thing to do is to compile the bytecode with luac

As I suggested earlier, if you are concerned that users will simply run
"luac -l" on the compiled code and see what the program does, you can
just change LUA_SIGNATURE to something else (but keep a non-printable
char as its first byte) and possibly also reorder the fields in the
header. This will make off-the-shelf luac choke. Most users will just
give up right there. Those that don't won't be stopped by anything more
complicated.

--lhf