32 vars!
This commit is contained in:
@@ -90,7 +90,18 @@ public class PutStatic extends Instruction implements SetFieldInstruction
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx.getInstruction() instanceof InvokeInstruction)
|
// if (ctx.getInstruction() instanceof InvokeInstruction)
|
||||||
|
// return false;
|
||||||
|
//
|
||||||
|
// if (ctx.getInstruction() instanceof IDiv)
|
||||||
|
// return false;
|
||||||
|
|
||||||
|
boolean ok = ctx.getInstruction() instanceof IAdd ||
|
||||||
|
ctx.getInstruction() instanceof ISub ||
|
||||||
|
ctx.getInstruction() instanceof IMul ||
|
||||||
|
ctx.getInstruction() instanceof SetFieldInstruction;
|
||||||
|
|
||||||
|
if (!ok)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
boolean multipleBranches = ctx.getInstruction() instanceof IAdd || ctx.getInstruction() instanceof ISub;
|
boolean multipleBranches = ctx.getInstruction() instanceof IAdd || ctx.getInstruction() instanceof ISub;
|
||||||
|
|||||||
@@ -273,13 +273,14 @@ public class ModArith implements Deobfuscator
|
|||||||
reduce();
|
reduce();
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (Pair pair : pairs)
|
int start = 0, end = 32; // 24 32 ok
|
||||||
|
for (int j = start; j < end; ++j)
|
||||||
|
//for (Pair pair : pairs)
|
||||||
{
|
{
|
||||||
|
Pair pair = pairs.get(j);
|
||||||
Field field = pair.field;
|
Field field = pair.field;
|
||||||
System.out.println("Processing " + field.getName() + " getter " + pair.getter + " setter " + pair.setter);
|
|
||||||
|
|
||||||
if (i > 0) // 2
|
System.out.println("Processing " + field.getName() + " getter " + pair.getter + " setter " + pair.setter);
|
||||||
break;
|
|
||||||
|
|
||||||
Encryption encr = new Encryption();
|
Encryption encr = new Encryption();
|
||||||
encr.addPair(pair);
|
encr.addPair(pair);
|
||||||
|
|||||||
Reference in New Issue
Block a user