suricata
SCLuaSbState Struct Reference

#include <util-lua-sandbox.h>

Data Fields

lua_StateL
 
size_t alloc_bytes
 
uint64_t alloc_limit
 
uint64_t instruction_count
 
uint64_t instruction_limit
 
uint64_t hook_instruction_count
 
bool blocked_function_error
 
bool instruction_count_error
 
bool memory_limit_error
 

Detailed Description

Definition at line 40 of file util-lua-sandbox.h.

Field Documentation

◆ alloc_bytes

size_t SCLuaSbState::alloc_bytes

Definition at line 44 of file util-lua-sandbox.h.

Referenced by SCLuaSbStateClose(), and SCLuaSbStateNew().

◆ alloc_limit

uint64_t SCLuaSbState::alloc_limit

Definition at line 45 of file util-lua-sandbox.h.

Referenced by SCLuaSbStateNew().

◆ blocked_function_error

bool SCLuaSbState::blocked_function_error

Definition at line 53 of file util-lua-sandbox.h.

Referenced by SCLuaSbResetInstructionCounter().

◆ hook_instruction_count

uint64_t SCLuaSbState::hook_instruction_count

Definition at line 50 of file util-lua-sandbox.h.

Referenced by SCLuaSbStateNew().

◆ instruction_count

uint64_t SCLuaSbState::instruction_count

Definition at line 48 of file util-lua-sandbox.h.

Referenced by SCLuaSbResetInstructionCounter().

◆ instruction_count_error

bool SCLuaSbState::instruction_count_error

Definition at line 54 of file util-lua-sandbox.h.

Referenced by SCLuaSbResetInstructionCounter().

◆ instruction_limit

uint64_t SCLuaSbState::instruction_limit

Definition at line 49 of file util-lua-sandbox.h.

Referenced by SCLuaSbStateNew().

◆ L

lua_State* SCLuaSbState::L

Definition at line 41 of file util-lua-sandbox.h.

Referenced by SCLuaSbStateClose(), and SCLuaSbStateNew().

◆ memory_limit_error

bool SCLuaSbState::memory_limit_error

Definition at line 55 of file util-lua-sandbox.h.


The documentation for this struct was generated from the following file: