Identifies ILOAD_[0-3] simply as ILOAD; same for ISTORE
Create Hello World Java project with method containing:
int a = 0;
int b = 3;
int c = a + b;
int d = c + 10;
Compiled .class file (at the point of interest):
...............033c 063d
1b1c 603e 1d10 0a60 3604
That is:
0 iconst_0
1 istore_1 [a]
2 iconst_3
3 istore_2 [b]
4 iload_1 [a]
5 iload_2 [b]
6 iadd
7 istore_3 [c]
8 iload_3 [c]
9 bipush 10
11 iadd
12 istore 4 [d]
But instead ASM Bytecode Viewer Plugin for Eclipse reports:
ICONST_0
ISTORE 1
ICONST_3
ISTORE 2
ILOAD 1
ILOAD 2
IADD
ISTORE 3
ILOAD 3
ISTORE 4
i.e. ASM identifies them as ISTORE 2 rather than ISTORE_2, ILOAD 1 rather than
ILOAD_1
Similarly, using the asm-tree package, similarly problematic output can be
observed (example JAR is attached).