Not sure if this is right, but two different ins ctxs were popping this, but the same instruction, so I made it compare instructions
This commit is contained in:
@@ -322,9 +322,17 @@ public class MultiplicationDeobfuscator implements Deobfuscator
|
||||
return false;
|
||||
}
|
||||
|
||||
Instruction poppedIns = null;
|
||||
for (StackContext s : i.getPushes())
|
||||
if (s.getPopped().size() > 1)
|
||||
return false;
|
||||
for (InstructionContext i2 : s.getPopped())
|
||||
{
|
||||
if (poppedIns == null)
|
||||
poppedIns = i2.getInstruction();
|
||||
else if (poppedIns != i2.getInstruction())
|
||||
return false;
|
||||
}
|
||||
//if (s.getPopped().size() > 1)
|
||||
// return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user