base/frameworks/spicy/init-bare.zeek

Spicy
Namespace

Spicy

Summary

Redefinable Options

Spicy::abort_on_exceptions: bool &redef

abort() instead of throwing HILTI exceptions.

Spicy::enable_print: bool &redef

Show output of Spicy print statements.

Spicy::enable_profiling: bool &redef

Spicy::max_file_depth: count &redef

Maximum depth of recursive file analysis (Spicy analyzers only)

Spicy::show_backtraces: bool &redef

Include backtraces when reporting unhandled exceptions.

Constants

Spicy::available: bool

Constant for testing if Spicy is available.

Types

Spicy::ResourceUsage: record

Result type for Spicy::resource_usage().

Detailed Interface

Redefinable Options

Spicy::abort_on_exceptions
Type

bool

Attributes

&redef

Default

F

abort() instead of throwing HILTI exceptions.

Spicy::enable_print
Type

bool

Attributes

&redef

Default

F

Show output of Spicy print statements.

Spicy::enable_profiling
Type

bool

Attributes

&redef

Default

F

Spicy::max_file_depth
Type

count

Attributes

&redef

Default

5

Maximum depth of recursive file analysis (Spicy analyzers only)

Spicy::show_backtraces
Type

bool

Attributes

&redef

Default

F

Include backtraces when reporting unhandled exceptions.

Constants

Spicy::available
Type

bool

Default

T

Constant for testing if Spicy is available.

Types

Spicy::ResourceUsage
Type

record

user_time: interval

user CPU time of the Zeek process

system_time: interval

system CPU time of the Zeek process

memory_heap: count

memory allocated on the heap by the Zeek process

num_fibers: count

number of fibers currently in use

max_fibers: count

maximum number of fibers ever in use

max_fiber_stack_size: count

maximum fiber stack size ever in use

cached_fibers: count

number of fibers currently cached

Result type for Spicy::resource_usage(). The values reflect resource usage as reported by the Spicy runtime system.