summaryrefslogtreecommitdiff
path: root/arch/powerpc/il.cpp
diff options
context:
space:
mode:
authorGalen Williamson <galen@vector35.com>2025-02-06 20:57:41 -0500
committerGalen Williamson <galen@vector35.com>2025-02-06 20:57:41 -0500
commit63bda3b9dde7c85c1140f9fa96da49f23d4936c5 (patch)
tree81c100f741329cf4489e5bd5cdb5a1f04dc7c649 /arch/powerpc/il.cpp
parent3355345145771291936738938721961916331716 (diff)
[mips] Fix decoding of MIPS ds*32 instructions, add lifting for MIPS drotr* instructions; clean up some warnings in powerpc/il.cpp
Diffstat (limited to 'arch/powerpc/il.cpp')
-rw-r--r--arch/powerpc/il.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/il.cpp b/arch/powerpc/il.cpp
index 43a47064..28883e5a 100644
--- a/arch/powerpc/il.cpp
+++ b/arch/powerpc/il.cpp
@@ -489,7 +489,7 @@ static void loadstoreppcfs(LowLevelILFunction& il,
bool update=false
)
{
- ExprId tmp;
+ ExprId tmp = 0;
const int addrsz = 4;
// assume single
if (!load_store_sz)
@@ -539,8 +539,8 @@ bool GetLowLevelILForPPCInstruction(Architecture *arch, LowLevelILFunction &il,
uint32_t rawInsn = *(const uint32_t *) data;
// for ppc_ps
- ppc_reg_bn gqr_l = (ppc_reg_bn)0;
- int w_l = 0;
+ // ppc_reg_bn gqr_l = (ppc_reg_bn)0;
+ // int w_l = 0;
addressSize_l = arch->GetAddressSize();
if (!le)
@@ -615,7 +615,7 @@ bool GetLowLevelILForPPCInstruction(Architecture *arch, LowLevelILFunction &il,
//MYLOG("oper3: %p\n", oper3);
}
- ExprId ei0, ei1, ei2;
+ ExprId ei0 = 0, ei1 = 0, ei2 = 0;
switch(insn->id) {
/* add