reven.api.SymbolCriterion(Criterion)
class documentationreven.api
(View In Hierarchy)
Criterion object to select symbols.
Note that this criterion will select every sequence that belongs to a
symbol. If you wish to select the call to a symbol, you might want to use
an AddressCriterion
instead.
build a criterion which accept symbol based on their name.
Parameters | pattern | The symbol name to match. |
accuracy | Whether the pattern matches is exactly ('exact'), is contained in ('contains') or is a regular expression of ('regexp') the symbol name to match. The default value is 'contains'. | |
case_sensitive | Whether the match is case sensitive or not." The default value is case insensitive. | |
invert_match | Whether to accept or reject objects matching this criterion. | |
Raises | ValueError | if the accuracy string is not in {'exact', 'contains', 'regexp'} |