AVM2 Deobfuscator stub (similar to ActionDeobfuscator)

This commit is contained in:
Jindra Petřík
2015-06-12 12:10:53 +02:00
parent 650aefede2
commit ec11afb0b1
7 changed files with 922 additions and 8 deletions

View File

@@ -39,6 +39,17 @@ public class TranslateStack extends Stack<GraphTargetItem> {
return path;
}
@Override
public synchronized GraphTargetItem get(int index) {
if (path != null) {
if (index >= this.size() || index < 0) {
Logger.getLogger(TranslateStack.class.getName()).log(Level.FINE, "{0}: Attemp to Get item outside of bounds of stack", path);
return pop;
}
}
return super.get(index);
}
@Override
public synchronized GraphTargetItem peek() {
if (path != null) {