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

Method store

python/lowlevelil.py:4317–4332  ·  view source on GitHub ↗

``store`` Writes ``size`` bytes to expression ``addr`` read from expression ``value`` :param int size: number of bytes to write :param ExpressionIndex addr: the expression to write to :param ExpressionIndex value: the expression to be written :param FlagName flags: which flags are set by

(
	    self, size: int, addr: ExpressionIndex, value: ExpressionIndex, flags: Optional['architecture.FlagName'] = None,
	    loc: Optional['ILSourceLocation'] = None
	)

Source from the content-addressed store, hash-verified

4315 return self.expr(LowLevelILOperation.LLIL_LOAD, addr, size=size, flags=flags, source_location=loc)
4316
4317 def store(
4318 self, size: int, addr: ExpressionIndex, value: ExpressionIndex, flags: Optional['architecture.FlagName'] = None,
4319 loc: Optional['ILSourceLocation'] = None
4320 ) -> ExpressionIndex:
4321 """
4322 ``store`` Writes ``size`` bytes to expression ``addr`` read from expression ``value``
4323
4324 :param int size: number of bytes to write
4325 :param ExpressionIndex addr: the expression to write to
4326 :param ExpressionIndex value: the expression to be written
4327 :param FlagName flags: which flags are set by this operation
4328 :param ILSourceLocation loc: location of returned expression
4329 :return: The expression ``[addr].size = value``
4330 :rtype: ExpressionIndex
4331 """
4332 return self.expr(LowLevelILOperation.LLIL_STORE, addr, value, size=size, flags=flags, source_location=loc)
4333
4334 def push(self, size: int, value: ExpressionIndex, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
4335 """

Callers 3

copy_expr_toMethod · 0.45
M6502Class · 0.45
translate_instrFunction · 0.45

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected