

def test_mov(self):
    asm_instrs = [reil_instrs._asm_parser.parse('mov eax, 0xdeadbeef')]
    asm_instrs += [self._asm_parser.parse('mov al, 0x12')]
    asm_instrs += [self._asm_parser.parse('mov ah, 0x34')]
    self.__set_address(3735928559, asm_instrs)
    reil_instrs = self._translator.translate(asm_instrs[0])
    reil_instrs += self._translator.translate(asm_instrs[1])
    reil_instrs += self._translator.translate(asm_instrs[2])
    regs_initial = {
        'eax': 4294967295,
    }
    (regs_final, _) = self._emulator.execute_lite(reil_instrs, context=regs_initial)
    self.assertEqual(regs_final['eax'], 3735893010)

dataset/ETHPy150Open programa-stic/barf-project/barf/tests/core/reil/test_reilemulator.py ReilEmulatorTests.test_mov/VarMisuse@13/19 `self`->`reil_instrs`