Skip to main content
The scope:functions allows to write VulHunt rules targeting specific functions in the binary.

Syntax

Reference

target

The target argument specifies the function(s) to identify in the binary. It accepts a string (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

with

The with argument specifies the Lua function to execute for each matching function.

Example