Go to the documentation of this file.
24 #ifndef SURICATA_UTIL_LUA_SANDBOX_H
25 #define SURICATA_UTIL_LUA_SANDBOX_H
void SCLuaSbStateClose(lua_State *sb)
void SCLuaSbLoadLibs(lua_State *L)
struct SCLuaSbState SCLuaSbState
uint64_t hook_instruction_count
struct lua_State lua_State
void SCLuaSbResetInstructionCounter(lua_State *sb)
uint64_t instruction_count
bool blocked_function_error
uint64_t instruction_limit
bool instruction_count_error
SCLuaSbState * SCLuaSbGetContext(lua_State *L)
lua_State * SCLuaSbStateNew(uint64_t alloclimit, uint64_t instructionlimit)
Allocate a new Lua sandbox.