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

Method _make_options_array

python/lowlevelil.py:868–876  ·  view source on GitHub ↗
(options: Optional[List[DataFlowQueryOption]])

Source from the content-addressed store, hash-verified

866
867 @staticmethod
868 def _make_options_array(options: Optional[List[DataFlowQueryOption]]):
869 if options is None:
870 options = []
871 idx = 0
872 option_array = (ctypes.c_int * len(options))()
873 for option in options:
874 option_array[idx] = option
875 idx += 1
876 return option_array, len(options)
877
878 def get_possible_values(self, options: Optional[List[DataFlowQueryOption]] = None) -> variable.PossibleValueSet:
879 option_array, option_size = LowLevelILInstruction._make_options_array(options)

Calls

no outgoing calls

Tested by

no test coverage detected