lua-users home
lua-l archive

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


Mark Hamburg wrote:

What one could do in an obfuscator:

First add some sort of declaration of field names that could be obscured
because they are purely internal. (You could actually use runtime obscuring
by using tables as keys, but the VM and the language syntax are both
optimized for string keys.)

    -- Private Fields: _x, _y, _protectMe
<snip>
While this method should work, it requires dedicated effort in
programming main application. The interesting question is: whether it's
feasible to write an "obfuscator" which is fully automatic and able to
correctly process *any* Lua program.

--
Shmuel