From ec7ab45cd9670592ee6b4cf56f74746588f2ad46 Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Fri, 9 Aug 2024 01:44:44 +0000 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 09ea91f..ce85c8b 100644 --- a/main.py +++ b/main.py @@ -344,7 +344,7 @@ def translate_arm64_to_x86(arm64_ins): elif arm64_ins.mnemonic == 'isb': x86_instructions.append(generate_x86_instruction('sfence', [])) # Instruction synchronization - elif arm64_ins.mnemonic == 'eor': + elif arm64_ins.mnemonic == 'eor': if operands[0] in reg_mapping and operands[1] in reg_mapping and operands[2] in reg_mapping: x86_instructions.append(generate_x86_instruction('mov', [reg_mapping[operands[0]], reg_mapping[operands[1]]])) x86_instructions.append(generate_x86_instruction('xor', [reg_mapping[operands[0]], reg_mapping[operands[2]]]))