Skip to main content
This reference uses type annotations based on the LuaLS (Lua Language Server) convention to describe function signatures, fields, and return values throughout the documentation.

Primitive types

Lua primitive types are always lowercase, matching the values returned by Lua’s built-in type() function.

Compound types

Compound types describe Lua tables and functions. The notation follows LuaLS conventions for arrays, dictionaries, records, and callable types.

Custom types

VulHunt exposes several custom types as Lua userdata objects. These are always written in PascalCase (e.g., ProjectHandle, FunctionContext, AddressValue). When a custom type appears in an array or dictionary, the same compound rules apply:

Combined notation

Parameters and return types may accept multiple forms, separated by or:
This means the parameter accepts a string, an AddressValue, or a CallsToQuery table.