> ## 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.

# Project Scope

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.

| Parameter | Description             | Type                          | Required |
| :-------- | :---------------------- | :---------------------------- | :------: |
| `with`    | Lua function to execute | `fun(project: ProjectHandle)` |    Yes   |

### Syntax

```lua theme={null}
scope:project{
    with = <function>
}
```

### Reference

#### with

The *with* argument specifies the Lua function to execute.

#### Example

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