[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: obfuscating / protecting LUA code
- From: David Given <dg@...>
- Date: Fri, 28 Apr 2006 23:17:11 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Shmuel Zeigerman wrote:
[...]
> That's right regarding local variables' names, but what about table
> fields' names? luac keeps them intact, even with the -s option.
You can't change these without changing the behaviour of your program ---
table fields are data, not code.
for i, j in pairs(...) do
print(i, j) -- will break if i has been munged!
end
- --
+- David Given --McQ-+ "If you're up against someone more intelligent
| dg@cowlark.com | than you are, do something insane and let him think
| (dg@tao-group.com) | himself to death." --- Pyanfar Chanur
+- www.cowlark.com --+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEUpRmf9E0noFvlzgRAvkcAJwKqG74Qev+Wrsc1aFpAjkzBapy3ACffCwx
lC+ZXeQ1rDpB6g5SCzOeOTk=
=wbHs
-----END PGP SIGNATURE-----