-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathOpCode.php
More file actions
212 lines (211 loc) Β· 5.35 KB
/
OpCode.php
File metadata and controls
212 lines (211 loc) Β· 5.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?php
declare(strict_types=1);
namespace PHPJava\Kernel\Maps;
class OpCode extends Map
{
const _nop = 0x00;
const _aconst_null = 0x01;
const _iconst_m1 = 0x02;
const _iconst_0 = 0x03;
const _iconst_1 = 0x04;
const _iconst_2 = 0x05;
const _iconst_3 = 0x06;
const _iconst_4 = 0x07;
const _iconst_5 = 0x08;
const _lconst_0 = 0x09;
const _lconst_1 = 0x0A;
const _fconst_0 = 0x0B;
const _fconst_1 = 0x0C;
const _fconst_2 = 0x0D;
const _dconst_0 = 0x0E;
const _dconst_1 = 0x0F;
const _bipush = 0x10;
const _sipush = 0x11;
const _ldc = 0x12;
const _ldc_w = 0x13;
const _ldc2_w = 0x14;
const _iload = 0x15;
const _lload = 0x16;
const _fload = 0x17;
const _dload = 0x18;
const _aload = 0x19;
const _iload_0 = 0x1A;
const _iload_1 = 0x1B;
const _iload_2 = 0x1C;
const _iload_3 = 0x1D;
const _lload_0 = 0x1E;
const _lload_1 = 0x1F;
const _lload_2 = 0x20;
const _lload_3 = 0x21;
const _fload_0 = 0x22;
const _fload_1 = 0x23;
const _fload_2 = 0x24;
const _fload_3 = 0x25;
const _dload_0 = 0x26;
const _dload_1 = 0x27;
const _dload_2 = 0x28;
const _dload_3 = 0x29;
const _aload_0 = 0x2A;
const _aload_1 = 0x2B;
const _aload_2 = 0x2C;
const _aload_3 = 0x2D;
const _iaload = 0x2E;
const _laload = 0x2F;
const _faload = 0x30;
const _daload = 0x31;
const _aaload = 0x32;
const _baload = 0x33;
const _caload = 0x34;
const _saload = 0x35;
const _istore = 0x36;
const _lstore = 0x37;
const _fstore = 0x38;
const _dstore = 0x39;
const _astore = 0x3A;
const _istore_0 = 0x3B;
const _istore_1 = 0x3C;
const _istore_2 = 0x3D;
const _istore_3 = 0x3E;
const _lstore_0 = 0x3F;
const _lstore_1 = 0x40;
const _lstore_2 = 0x41;
const _lstore_3 = 0x42;
const _fstore_0 = 0x43;
const _fstore_1 = 0x44;
const _fstore_2 = 0x45;
const _fstore_3 = 0x46;
const _dstore_0 = 0x47;
const _dstore_1 = 0x48;
const _dstore_2 = 0x49;
const _dstore_3 = 0x4A;
const _astore_0 = 0x4B;
const _astore_1 = 0x4C;
const _astore_2 = 0x4D;
const _astore_3 = 0x4E;
const _iastore = 0x4F;
const _lastore = 0x50;
const _fastore = 0x51;
const _dastore = 0x52;
const _aastore = 0x53;
const _bastore = 0x54;
const _castore = 0x55;
const _sastore = 0x56;
const _pop = 0x57;
const _pop2 = 0x58;
const _dup = 0x59;
const _dup_x1 = 0x5A;
const _dup_x2 = 0x5B;
const _dup2 = 0x5C;
const _dup2_x1 = 0x5D;
const _dup2_x2 = 0x5E;
const _swap = 0x5F;
const _iadd = 0x60;
const _ladd = 0x61;
const _fadd = 0x62;
const _dadd = 0x63;
const _isub = 0x64;
const _lsub = 0x65;
const _fsub = 0x66;
const _dsub = 0x67;
const _imul = 0x68;
const _lmul = 0x69;
const _fmul = 0x6A;
const _dmul = 0x6B;
const _idiv = 0x6C;
const _ldiv = 0x6D;
const _fdiv = 0x6E;
const _ddiv = 0x6F;
const _irem = 0x70;
const _lrem = 0x71;
const _frem = 0x72;
const _drem = 0x73;
const _ineg = 0x74;
const _lneg = 0x75;
const _fneg = 0x76;
const _dneg = 0x77;
const _ishl = 0x78;
const _lshl = 0x79;
const _ishr = 0x7A;
const _lshr = 0x7B;
const _iushr = 0x7C;
const _lushr = 0x7D;
const _iand = 0x7E;
const _land = 0x7F;
const _ior = 0x80;
const _lor = 0x81;
const _ixor = 0x82;
const _lxor = 0x83;
const _iinc = 0x84;
const _i2l = 0x85;
const _i2f = 0x86;
const _i2d = 0x87;
const _l2i = 0x88;
const _l2f = 0x89;
const _l2d = 0x8A;
const _f2i = 0x8B;
const _f2l = 0x8C;
const _f2d = 0x8D;
const _d2i = 0x8E;
const _d2l = 0x8F;
const _d2f = 0x90;
const _i2b = 0x91;
const _i2c = 0x92;
const _i2s = 0x93;
const _lcmp = 0x94;
const _fcmpl = 0x95;
const _fcmpg = 0x96;
const _dcmpl = 0x97;
const _dcmpg = 0x98;
const _ifeq = 0x99;
const _ifne = 0x9A;
const _iflt = 0x9B;
const _ifge = 0x9C;
const _ifgt = 0x9D;
const _ifle = 0x9E;
const _if_icmpeq = 0x9F;
const _if_icmpne = 0xA0;
const _if_icmplt = 0xA1;
const _if_icmpge = 0xA2;
const _if_icmpgt = 0xA3;
const _if_icmple = 0xA4;
const _if_acmpeq = 0xA5;
const _if_acmpne = 0xA6;
const _goto = 0xA7;
const _jsr = 0xA8;
const _ret = 0xA9;
const _tableswitch = 0xAA;
const _lookupswitch = 0xAB;
const _ireturn = 0xAC;
const _lreturn = 0xAD;
const _freturn = 0xAE;
const _dreturn = 0xAF;
const _areturn = 0xB0;
const _return = 0xB1;
const _getstatic = 0xB2;
const _putstatic = 0xB3;
const _getfield = 0xB4;
const _putfield = 0xB5;
const _invokevirtual = 0xB6;
const _invokespecial = 0xB7;
const _invokestatic = 0xB8;
const _invokeinterface = 0xB9;
const _invokedynamic = 0xBA;
const _new = 0xBB;
const _newarray = 0xBC;
const _anewarray = 0xBD;
const _arraylength = 0xBE;
const _athrow = 0xBF;
const _checkcast = 0xC0;
const _instanceof = 0xC1;
const _monitorenter = 0xC2;
const _monitorexit = 0xC3;
const _wide = 0xC4;
const _multianewarray = 0xC5;
const _ifnull = 0xC6;
const _ifnonnull = 0xC7;
const _goto_w = 0xC8;
const _jsr_w = 0xC9;
const _breakpoint = 0xCA;
const _impdep1 = 0xFE;
const _impdep2 = 0xFF;
}