[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to avoid loading of binary chunks using API
- From: Jan Behrens <public@...>
- Date: Tue, 29 Mar 2011 19:32:22 +0200
Hi,
since there is no bytecode verification I want to prohibit loading of
precompiled data. I should be able to do it by checking data[0] !=
LUA_SIGNATURE[0], but is there any API call to do it, or is there any way to
tell the API that only text chunks are allowed?
Right now it seems that only the Lua functions "load" and "loadin" have such
options, but the API does not provide this functionality.
Regards
Jan Behrens