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

Method assign_unpack

python/highlevelil.py:3210–3223  ·  view source on GitHub ↗

``assign_unpack`` assign expression ``src`` to a list of expressions in ``output`` of size ``size`` :param int size: size of the expression :param List[ExpressionIndex] output: expressions being assigned :param ExpressionIndex src: value being assigned to the expressions :param ILSourceL

(
		self, size: int, output: List[ExpressionIndex], src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None
	)

Source from the content-addressed store, hash-verified

3208 return self.expr(HighLevelILOperation.HLIL_ASSIGN, dest, src, size=size, source_location=loc)
3209
3210 def assign_unpack(
3211 self, size: int, output: List[ExpressionIndex], src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None
3212 ) -> ExpressionIndex:
3213 """
3214 ``assign_unpack`` assign expression ``src`` to a list of expressions in ``output`` of size ``size``
3215
3216 :param int size: size of the expression
3217 :param List[ExpressionIndex] output: expressions being assigned
3218 :param ExpressionIndex src: value being assigned to the expressions
3219 :param ILSourceLocation loc: location of returned expression
3220 :return: The expression ``output... = src``
3221 :rtype: ExpressionIndex
3222 """
3223 return self.expr(HighLevelILOperation.HLIL_ASSIGN_UNPACK, len(output), self.add_operand_list(output), src, size=size, source_location=loc)
3224
3225 def var(self, size: int, src: 'variable.Variable', loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
3226 """

Callers

nothing calls this directly

Calls 2

exprMethod · 0.95
add_operand_listMethod · 0.95

Tested by

no test coverage detected