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

Method store

python/mediumlevelil.py:3710–3723  ·  view source on GitHub ↗

``store`` Writes ``size`` bytes to expression ``dest`` read from expression ``src`` :param int size: number of bytes to write :param ExpressionIndex dest: the expression to write to :param ExpressionIndex src: the expression to be written :param ILSourceLocation loc: location of returned

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

Source from the content-addressed store, hash-verified

3708 return self.expr(MediumLevelILOperation.MLIL_LOAD_STRUCT, src, offset, size=size, source_location=loc)
3709
3710 def store(
3711 self, size: int, dest: ExpressionIndex, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None
3712 ) -> ExpressionIndex:
3713 """
3714 ``store`` Writes ``size`` bytes to expression ``dest`` read from expression ``src``
3715
3716 :param int size: number of bytes to write
3717 :param ExpressionIndex dest: the expression to write to
3718 :param ExpressionIndex src: the expression to be written
3719 :param ILSourceLocation loc: location of returned expression
3720 :return: The expression ``[dest].size = src``
3721 :rtype: ExpressionIndex
3722 """
3723 return self.expr(MediumLevelILOperation.MLIL_STORE, dest, src, size=size, source_location=loc)
3724
3725 def store_struct(
3726 self, size: int, dest: ExpressionIndex, offset: int, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None

Callers

nothing calls this directly

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected