MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / in_set_of_values

Method in_set_of_values

python/variable.py:586–597  ·  view source on GitHub ↗

Create a PossibleValueSet object for a value in a set of values. :param list(int) values: List of integer values :rtype: PossibleValueSet

(values: Union[List[int], Set[int]])

Source from the content-addressed store, hash-verified

584
585 @staticmethod
586 def in_set_of_values(values: Union[List[int], Set[int]]) -> 'PossibleValueSet':
587 """
588 Create a PossibleValueSet object for a value in a set of values.
589
590 :param list(int) values: List of integer values
591 :rtype: PossibleValueSet
592 """
593 result = PossibleValueSet()
594 result._type = RegisterValueType.InSetOfValues
595 result._values = set(values)
596 result._count = len(values)
597 return result
598
599 @staticmethod
600 def not_in_set_of_values(values) -> 'PossibleValueSet':

Callers

nothing calls this directly

Calls 1

PossibleValueSetClass · 0.70

Tested by

no test coverage detected