[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luaproc thought
- From: Fabien <fleutot+lua@...>
- Date: Wed, 30 Sep 2009 16:51:45 +0200
On Wed, Sep 30, 2009 at 4:40 PM, Mark Hamburg <firstname.lastname@example.org> wrote:
There are already have ways to detect global variable accesses at compile time
Notice that current tools won't help you here:your chunk is embedded as a bytecode string (or maybe a source string), and therefore contains no variable, global or local. You could probably modify an existing tool to recursively check strings constants starting with "\027Lua", though.