From 6f1e52dec1b1362a2517741b16c4c28ec2747d29 Mon Sep 17 00:00:00 2001 From: chedahub <2017000029@ushs.hs.kr> Date: Wed, 22 Oct 2025 21:34:44 +0900 Subject: Fix(ppc/il): Treat r0 as a register in e_addi/e_add16i IL --- arch/powerpc/il.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/il.cpp b/arch/powerpc/il.cpp index b288561a..728b3069 100644 --- a/arch/powerpc/il.cpp +++ b/arch/powerpc/il.cpp @@ -611,7 +611,7 @@ bool GetLowLevelILForPPCInstruction(Architecture *arch, LowLevelILFunction &il, ei0 = il.Const(addressSize_l, oper2->simm); ei0 = il.Add( addressSize_l, - operToIL(il, oper1, OTI_GPR0_ZERO, PPC_IL_EXTRA_DEFAULT, addressSize_l), + operToIL(il, oper1), ei0 ); ei0 = il.SetRegister(addressSize_l, oper0->reg, ei0); -- cgit v1.3.1