[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 bytecode verifier library
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 2 Aug 2010 13:15:16 -0300
> Other than that, I don't really know much about the VM other than what
> I've seen described, so I don't know what functions one would write, but
> the described table would assist hard functionality prohibition in Lua
> (eg. a script that wants to disallow external code with loops could do
> string.find calls for the loop opcodes).
I'll probably updated my bytecode inspector library when Lua 5.2 comes out.
If you want to try it in Lua 5.1, see
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbci