The scope:functions allows to write VulHunt rules targeting specific functions in the binary.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.
| Parameter | Description | Type | Required |
|---|---|---|---|
target | Function(s) to identify in the binary | string, AddressValue, or FunctionQuery | Yes |
with | Lua function to execute for each matching function | fun(project: ProjectHandle, context: FunctionContext) | Yes |
Syntax
Reference
target
The target argument specifies the function(s) to identify in the binary. It accepts astring (function name), an AddressValue (function address), or a FunctionQuery for pattern matching (note: the all field is not allowed in this context).
named can also be used as an alias for target when a string is passed