def _lower(self): from peachpy.stream import InstructionStream from peachpy.x86_64.generic import ADD from peachpy.x86_64.registers import esp, rsp, r15 with InstructionStream() as stream: ADD(esp, self.operands[0]) ADD(rsp, r15) return stream.instructions
def _lower(self): from peachpy.stream import InstructionStream from peachpy.x86_64.generic import AND, ADD, JMP with InstructionStream() as stream: AND(self.operands[0], -32) ADD(self.operands[0].as_qword, self.operands[1]) JMP(self.operands[0].as_qword) return stream.instructions