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

Method push

python/lowlevelil.py:4334–4344  ·  view source on GitHub ↗

``push`` writes ``size`` bytes from expression ``value`` to the stack, adjusting the stack by ``size``. :param int size: number of bytes to write and adjust the stack by :param ExpressionIndex value: the expression to write :param ILSourceLocation loc: location of returned expression :re

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

Source from the content-addressed store, hash-verified

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 """
4336 ``push`` writes ``size`` bytes from expression ``value`` to the stack, adjusting the stack by ``size``.
4337
4338 :param int size: number of bytes to write and adjust the stack by
4339 :param ExpressionIndex value: the expression to write
4340 :param ILSourceLocation loc: location of returned expression
4341 :return: The expression push(value)
4342 :rtype: ExpressionIndex
4343 """
4344 return self.expr(LowLevelILOperation.LLIL_PUSH, value, size=size, source_location=loc)
4345
4346 def pop(self, size: int, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
4347 """

Callers 15

runMethod · 0.45
split_progressMethod · 0.45
parse_typesMethod · 0.45
handle_type_indexMethod · 0.45
handle_class_typeMethod · 0.45
handle_nested_typeMethod · 0.45
handle_procedure_typeMethod · 0.45
handle_union_typeMethod · 0.45
parse_union_fieldsMethod · 0.45

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected