Skip to main content

Documentation Index

Fetch the complete documentation index at: https://vulhunt-docs.binarly.io/llms.txt

Use this file to discover all available pages before exploring further.

The scope:project allows to develop VulHunt rules that operate at the project level, rather than targeting individual functions or calls. This scope is also useful when debugging symbols are not present, to search for specific code and pattern.
ParameterDescriptionTypeRequired
withLua function to executefun(project: ProjectHandle)Yes

Syntax

scope:project{
    with = <function>
}

Reference

with

The with argument specifies the Lua function to execute.

Example

scopes = scope:project{
  with = function(project)
    -- Project-level analysis logic goes here
  end
}