scope:functions scope is used to target specific functions within the binary under analysis.
It enables writing rules that match individual functions and access their semantic information.
The first parameter of scope:functions is target, which allows specifying the target function(s) using a string (function name), an AddressValue (function address) or a FunctionQuery object for pattern matching (note: the all field is not allowed in this context, as each match is processed individually).
The with argument accepts a check function that takes a ProjectHandle as its first parameter and a FunctionContext as its second.
The FunctionContext provides access to details of the matched function, including its name, address, called functions, and pattern matching utilities.