Fixup rest of unused method stuff. It appears there are some garbage

fields too places.
This commit is contained in:
Adam
2015-06-28 19:32:54 -04:00
parent d9f4d257a5
commit b0f5f33e89
11 changed files with 56 additions and 50 deletions

View File

@@ -98,13 +98,14 @@ public class InvokeInterface extends Instruction implements InvokeInstruction
ins.push(ctx);
}
frame.addInstructionContext(ins);
for (info.sigterm.deob.Method method : getMethods())
{
ins.invoke(method);
// add possible method call to execution
frame.getExecution().addMethod(method);
}
frame.addInstructionContext(ins);
}
private void handleExceptions(Frame frame)

View File

@@ -84,13 +84,14 @@ public class InvokeSpecial extends Instruction implements InvokeInstruction
ins.push(ctx);
}
frame.addInstructionContext(ins);
for (info.sigterm.deob.Method method : getMethods())
{
ins.invoke(method);
// add possible method call to execution
frame.getExecution().addMethod(method);
}
frame.addInstructionContext(ins);
}
private void handleExceptions(Frame frame)

View File

@@ -81,13 +81,14 @@ public class InvokeStatic extends Instruction implements InvokeInstruction
ins.push(ctx);
}
frame.addInstructionContext(ins);
for (info.sigterm.deob.Method method : getMethods())
{
ins.invoke(method);
// add possible method call to execution
frame.getExecution().addMethod(method);
}
frame.addInstructionContext(ins);
}
private void handleExceptions(Frame frame)

View File

@@ -69,13 +69,14 @@ public class InvokeVirtual extends Instruction implements InvokeInstruction
ins.push(ctx);
}
frame.addInstructionContext(ins);
for (info.sigterm.deob.Method method : getMethods())
{
ins.invoke(method);
// add possible method call to execution
frame.getExecution().addMethod(method);
}
frame.addInstructionContext(ins);
}
// find the possible methods this instruction might be invoking. we can't know for sure