``reg_stack_push`` pushes the expression ``value`` of size ``size`` onto the top of the register stack ``reg_stack`` :param int size: size of the register parameter in bytes :param str reg_stack: the register stack name :param ExpressionIndex value: an expression to push :param str fla
( self, size: int, reg_stack: 'architecture.RegisterStackType', value: ExpressionIndex, flags: Optional['architecture.FlagType'] = None, loc: Optional['ILSourceLocation'] = None )
| 4263 | return self.expr(LowLevelILOperation.LLIL_SET_REG_STACK_REL, _reg_stack, entry, value, size=size, flags=flags, source_location=loc) |
| 4264 | |
| 4265 | def reg_stack_push( |
| 4266 | self, size: int, reg_stack: 'architecture.RegisterStackType', value: ExpressionIndex, |
| 4267 | flags: Optional['architecture.FlagType'] = None, loc: Optional['ILSourceLocation'] = None |
| 4268 | ) -> ExpressionIndex: |
| 4269 | """ |
| 4270 | ``reg_stack_push`` pushes the expression ``value`` of size ``size`` onto the top of the register |
| 4271 | stack ``reg_stack`` |
| 4272 | |
| 4273 | :param int size: size of the register parameter in bytes |
| 4274 | :param str reg_stack: the register stack name |
| 4275 | :param ExpressionIndex value: an expression to push |
| 4276 | :param str flags: which flags are set by this operation |
| 4277 | :param ILSourceLocation loc: location of returned expression |
| 4278 | :return: The expression ``reg_stack.push(value)`` |
| 4279 | :rtype: ExpressionIndex |
| 4280 | """ |
| 4281 | _reg_stack = ExpressionIndex(self.arch.get_reg_stack_index(reg_stack)) |
| 4282 | if flags is None: |
| 4283 | flags = architecture.FlagIndex(0) |
| 4284 | return self.expr(LowLevelILOperation.LLIL_REG_STACK_PUSH, _reg_stack, value, size=size, flags=flags, source_location=loc) |
| 4285 | |
| 4286 | def set_flag( |
| 4287 | self, flag: 'architecture.FlagName', value: ExpressionIndex, |
no test coverage detected