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

Method get_constant_data

python/highlevelil.py:692–695  ·  view source on GitHub ↗
(self, operand_index1: int, operand_index2: int)

Source from the content-addressed store, hash-verified

690 return float(value)
691
692 def get_constant_data(self, operand_index1: int, operand_index2: int) -> variable.ConstantData:
693 state = variable.RegisterValueType(self.core_instr.operands[operand_index1])
694 value = self.core_instr.operands[operand_index2]
695 return variable.ConstantData(value, 0, state, core.max_confidence, self.core_instr.size, self.function.source_function)
696
697 def get_expr(self, operand_index: int) -> 'HighLevelILInstruction':
698 return HighLevelILInstruction.create(

Callers 1

constant_dataMethod · 0.45

Calls 1

ConstantDataMethod · 0.80

Tested by

no test coverage detected