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