Simplify jump deob, just destroy and rebuld jump graph instead of trying

to update it which sucks.
This commit is contained in:
Adam
2015-06-18 16:49:47 -04:00
parent cb172775d4
commit d3142d83ce
2 changed files with 24 additions and 28 deletions

View File

@@ -148,14 +148,19 @@ public class Instructions
out.writeInt(ba.length);
out.write(ba);
}
public void buildJumpGraph()
public void clearJumpGraph()
{
for (Instruction i : instructions)
{
i.jump.clear();
i.from.clear();
}
}
public void buildJumpGraph()
{
clearJumpGraph();
for (Instruction i : instructions)
if (i instanceof JumpingInstruction)