|
|
@ -186,8 +186,6 @@ public class CodeAnalyzer implements Analyzer { |
|
|
|
|
|
|
|
|
|
|
|
excHandlers.analyze(); |
|
|
|
excHandlers.analyze(); |
|
|
|
methodHeader.analyze(); |
|
|
|
methodHeader.analyze(); |
|
|
|
if (!Decompiler.usePUSH && methodHeader.mapStackToLocal()) |
|
|
|
|
|
|
|
methodHeader.removePush(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void analyze() |
|
|
|
public void analyze() |
|
|
@ -195,6 +193,9 @@ public class CodeAnalyzer implements Analyzer { |
|
|
|
byte[] codeArray = code.getCode(); |
|
|
|
byte[] codeArray = code.getCode(); |
|
|
|
int[] handlers = code.getExceptionHandlers(); |
|
|
|
int[] handlers = code.getExceptionHandlers(); |
|
|
|
readCode(codeArray, handlers); |
|
|
|
readCode(codeArray, handlers); |
|
|
|
|
|
|
|
if (!Decompiler.usePUSH && methodHeader.mapStackToLocal()) |
|
|
|
|
|
|
|
methodHeader.removePush(); |
|
|
|
|
|
|
|
|
|
|
|
Enumeration enum = allLocals.elements(); |
|
|
|
Enumeration enum = allLocals.elements(); |
|
|
|
while (enum.hasMoreElements()) { |
|
|
|
while (enum.hasMoreElements()) { |
|
|
|
LocalInfo li = (LocalInfo)enum.nextElement(); |
|
|
|
LocalInfo li = (LocalInfo)enum.nextElement(); |
|
|
|