duh
This commit is contained in:
@@ -65,20 +65,12 @@ public class IllegalStateExceptions implements Deobfuscator
|
|||||||
if (ics == null)
|
if (ics == null)
|
||||||
continue; // never executed
|
continue; // never executed
|
||||||
|
|
||||||
boolean found = false;
|
|
||||||
for (InstructionContext ic : ics)
|
for (InstructionContext ic : ics)
|
||||||
{
|
{
|
||||||
found = true;
|
|
||||||
|
|
||||||
if (ins instanceof If)
|
if (ins instanceof If)
|
||||||
ic.removeStack(1);
|
ic.removeStack(1);
|
||||||
ic.removeStack(0);
|
ic.removeStack(0);
|
||||||
break;
|
break; // XXX I guess this doesnt matter we're only removing one path
|
||||||
}
|
|
||||||
if (!found)
|
|
||||||
{
|
|
||||||
System.out.println("Unable to locate instruction ctx to remove stack for illegalstateexception " + ins.getType().getName() + " in method " + m.getName() + " class " + m.getMethods().getClassFile().getName());
|
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// instruction is no longer at 'i' because we've just removed stuff...
|
// instruction is no longer at 'i' because we've just removed stuff...
|
||||||
|
|||||||
Reference in New Issue
Block a user