instructionsequenceconstants.java

来自「proguard 一个java的混淆器」· Java 代码 · 共 1,552 行 · 第 1/5 页

JAVA
1,552
字号
            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_BIPUSH, A),                new SimpleInstruction(InstructionConstants.OP_IADD),            },        },        {   // s + i = i + s            {                new SimpleInstruction(InstructionConstants.OP_SIPUSH, A),                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_IADD),            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_SIPUSH, A),                new SimpleInstruction(InstructionConstants.OP_IADD),            },        },        {   // c + i = i + c            {                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_IADD),            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new SimpleInstruction(InstructionConstants.OP_IADD),            },        },        {   // c * i = i * c            {                new SimpleInstruction(InstructionConstants.OP_ICONST_0, A),                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_0, A),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },        },        {   // b * i = i * b            {                new SimpleInstruction(InstructionConstants.OP_BIPUSH, A),                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_BIPUSH, A),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },        },        {   // s * i = i * s            {                new SimpleInstruction(InstructionConstants.OP_SIPUSH, A),                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_SIPUSH, A),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },        },        {   // c * i = i * c            {                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },{                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new SimpleInstruction(InstructionConstants.OP_IMUL),            },        },        {   // c + l = l + c            {                new SimpleInstruction(InstructionConstants.OP_LCONST_0, A),                new VariableInstruction(InstructionConstants.OP_LLOAD, X),                new SimpleInstruction(InstructionConstants.OP_LADD),            },{                new VariableInstruction(InstructionConstants.OP_LLOAD, X),                new SimpleInstruction(InstructionConstants.OP_LCONST_0, A),                new SimpleInstruction(InstructionConstants.OP_LADD),            },        },        {   // c + l = l + c            {                new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),                new VariableInstruction(InstructionConstants.OP_LLOAD, X),                new SimpleInstruction(InstructionConstants.OP_LADD),            },{                new VariableInstruction(InstructionConstants.OP_LLOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),                new SimpleInstruction(InstructionConstants.OP_LADD),            },        },        {   // c * l = l * c            {                new SimpleInstruction(InstructionConstants.OP_LCONST_0, A),                new VariableInstruction(InstructionConstants.OP_LLOAD, X),                new SimpleInstruction(InstructionConstants.OP_LMUL),            },{                new VariableInstruction(InstructionConstants.OP_LLOAD, X),                new SimpleInstruction(InstructionConstants.OP_LCONST_0, A),                new SimpleInstruction(InstructionConstants.OP_LMUL),            },        },        {   // c + f = f + c            {                new SimpleInstruction(InstructionConstants.OP_FCONST_0, A),                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new SimpleInstruction(InstructionConstants.OP_FADD),            },{                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new SimpleInstruction(InstructionConstants.OP_FCONST_0, A),                new SimpleInstruction(InstructionConstants.OP_FADD),            },        },        {   // c + f = f + c            {                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new SimpleInstruction(InstructionConstants.OP_FADD),            },{                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new SimpleInstruction(InstructionConstants.OP_FADD),            },        },        {   // c * f = f * c            {                new SimpleInstruction(InstructionConstants.OP_FCONST_0, A),                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new SimpleInstruction(InstructionConstants.OP_FMUL),            },{                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new SimpleInstruction(InstructionConstants.OP_FCONST_0, A),                new SimpleInstruction(InstructionConstants.OP_FMUL),            },        },        {   // c * f = f * c            {                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new SimpleInstruction(InstructionConstants.OP_LMUL),            },{                new VariableInstruction(InstructionConstants.OP_FLOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC, A),                new SimpleInstruction(InstructionConstants.OP_LMUL),            },        },        {   // c + d = d + c            {                new SimpleInstruction(InstructionConstants.OP_DCONST_0, A),                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new SimpleInstruction(InstructionConstants.OP_DADD),            },{                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new SimpleInstruction(InstructionConstants.OP_DCONST_0, A),                new SimpleInstruction(InstructionConstants.OP_DADD),            },        },        {   // c + d = d + c            {                new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new SimpleInstruction(InstructionConstants.OP_DADD),            },{                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),                new SimpleInstruction(InstructionConstants.OP_DADD),            },        },        {   // c * d = d * c            {                new SimpleInstruction(InstructionConstants.OP_DCONST_0, A),                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new SimpleInstruction(InstructionConstants.OP_DMUL),            },{                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new SimpleInstruction(InstructionConstants.OP_DCONST_0, A),                new SimpleInstruction(InstructionConstants.OP_DMUL),            },        },        {   // c * d = d * c            {                new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new SimpleInstruction(InstructionConstants.OP_DMUL),            },{                new VariableInstruction(InstructionConstants.OP_DLOAD, X),                new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),                new SimpleInstruction(InstructionConstants.OP_DMUL),            },        },        {   // i = i + c = i += c            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_0, A),                new SimpleInstruction(InstructionConstants.OP_IADD),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, A),            },        },        {   // i = i + b = i += b            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_BIPUSH, A),                new SimpleInstruction(InstructionConstants.OP_IADD),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, A),            },        },        {   // i = i + s = i += s            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_SIPUSH, A),                new SimpleInstruction(InstructionConstants.OP_IADD),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, A),            },        },        {   // i = i - -1 = i++            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_M1),                new SimpleInstruction(InstructionConstants.OP_ISUB),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, 1),            },        },        {   // i = i - 1 = i--            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_1),                new SimpleInstruction(InstructionConstants.OP_ISUB),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, -1),            },        },        {   // i = i - 2 = i -= 2            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_2),                new SimpleInstruction(InstructionConstants.OP_ISUB),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, -2),            },        },        {   // i = i - 3 = i -= 3            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_3),                new SimpleInstruction(InstructionConstants.OP_ISUB),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, -3),            },        },        {   // i = i - 4 = i -= 4            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_4),                new SimpleInstruction(InstructionConstants.OP_ISUB),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, -4),            },        },        {   // i = i - 5 = i -= 5            {                new VariableInstruction(InstructionConstants.OP_ILOAD, X),                new SimpleInstruction(InstructionConstants.OP_ICONST_5),                new SimpleInstruction(InstructionConstants.OP_ISUB),                new VariableInstruction(InstructionConstants.OP_ISTORE, X),            },{                new VariableInstruction(InstructionConstants.OP_IINC, X, -5),            },        },        {   // ... + 0 = ...            {                new SimpleInstruction(InstructionConstants.OP_ICONST_0),                new SimpleInstruction(InstructionConstants.OP_IADD),            },{                // Nothing.            },        },        {   // ... + 0L = ...            {                new SimpleInstruction(InstructionConstants.OP_LCONST_0),                new SimpleInstruction(InstructionConstants.OP_LADD),            },{                // Nothing.            },        },        {   // ... + 0f = ...            {                new SimpleInstruction(InstructionConstants.OP_FCONST_0),                new SimpleInstruction(InstructionConstants.OP_FADD),            },{                // Nothing.            },        },        {   // ... + 0d = ...            {                new SimpleInstruction(InstructionConstants.OP_DCONST_0),                new SimpleInstruction(InstructionConstants.OP_DADD),

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?