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

Method _get_constraint

python/mediumlevelil.py:1109–1113  ·  view source on GitHub ↗
(self, operand_index: int)

Source from the content-addressed store, hash-verified

1107 core.BNMediumLevelILFreeOperandList(operand_list)
1108
1109 def _get_constraint(self, operand_index: int) -> variable.PossibleValueSet:
1110 value = core.BNGetCachedMediumLevelILPossibleValueSet(self.function.handle, self.instr.operands[operand_index])
1111 result = variable.PossibleValueSet(self.function.arch, value)
1112 core.BNFreePossibleValueSet(value)
1113 return result
1114
1115
1116@dataclass(frozen=True, repr=False, eq=False)

Callers 2

constraintMethod · 0.45
constraintMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected