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

Method get_possible_values

python/lowlevelil.py:878–883  ·  view source on GitHub ↗
(self, options: Optional[List[DataFlowQueryOption]] = None)

Source from the content-addressed store, hash-verified

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)
880 value = core.BNGetLowLevelILPossibleExprValues(self.function.handle, self.expr_index, option_array, option_size)
881 result = variable.PossibleValueSet(self.function.arch, value)
882 core.BNFreePossibleValueSet(value)
883 return result
884
885 def get_reg_value(self, reg: 'architecture.RegisterType') -> variable.RegisterValue:
886 if self.function.arch is None:

Callers

nothing calls this directly

Calls 1

_make_options_arrayMethod · 0.45

Tested by

no test coverage detected