/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2012 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package proguard.optimize.peephole;
import proguard.classfile.*;
import proguard.classfile.constant.*;
import proguard.classfile.instruction.*;
import proguard.classfile.visitor.ClassPrinter;
/**
* This class contains a set of instruction sequences and their suggested
* replacements.
*
* @see InstructionSequencesReplacer
* @see InstructionSequenceReplacer
* @author Eric Lafortune
*/
public class InstructionSequenceConstants
{
private static final int X = InstructionSequenceReplacer.X;
private static final int Y = InstructionSequenceReplacer.Y;
private static final int Z = InstructionSequenceReplacer.Z;
private static final int A = InstructionSequenceReplacer.A;
private static final int B = InstructionSequenceReplacer.B;
private static final int C = InstructionSequenceReplacer.C;
private static final int D = InstructionSequenceReplacer.D;
private static final int STRING_A_LENGTH = InstructionSequenceReplacer.STRING_A_LENGTH;
private static final int BOOLEAN_A_STRING = InstructionSequenceReplacer.BOOLEAN_A_STRING;
private static final int CHAR_A_STRING = InstructionSequenceReplacer.CHAR_A_STRING;
private static final int INT_A_STRING = InstructionSequenceReplacer.INT_A_STRING;
private static final int LONG_A_STRING = InstructionSequenceReplacer.LONG_A_STRING;
private static final int FLOAT_A_STRING = InstructionSequenceReplacer.FLOAT_A_STRING;
private static final int DOUBLE_A_STRING = InstructionSequenceReplacer.DOUBLE_A_STRING;
private static final int STRING_A_STRING = InstructionSequenceReplacer.STRING_A_STRING;
private static final int BOOLEAN_B_STRING = InstructionSequenceReplacer.BOOLEAN_B_STRING;
private static final int CHAR_B_STRING = InstructionSequenceReplacer.CHAR_B_STRING;
private static final int INT_B_STRING = InstructionSequenceReplacer.INT_B_STRING;
private static final int LONG_B_STRING = InstructionSequenceReplacer.LONG_B_STRING;
private static final int FLOAT_B_STRING = InstructionSequenceReplacer.FLOAT_B_STRING;
private static final int DOUBLE_B_STRING = InstructionSequenceReplacer.DOUBLE_B_STRING;
private static final int STRING_B_STRING = InstructionSequenceReplacer.STRING_B_STRING;
private static final int I_32768 = 0;
private static final int I_65536 = 1;
private static final int I_16777216 = 2;
// private static final int I_0x000000ff
private static final int I_0x0000ff00 = 3;
private static final int I_0x00ff0000 = 4;
private static final int I_0xff000000 = 5;
private static final int I_0x0000ffff = 6;
private static final int I_0xffff0000 = 7;
private static final int L_M1 = 8;
private static final int L_2 = 9;
private static final int L_4 = 10;
private static final int L_8 = 11;
private static final int L_16 = 12;
private static final int L_32 = 13;
private static final int L_64 = 14;
private static final int L_128 = 15;
private static final int L_256 = 16;
private static final int L_512 = 17;
private static final int L_1024 = 18;
private static final int L_2048 = 19;
private static final int L_4096 = 20;
private static final int L_8192 = 21;
private static final int L_16384 = 22;
private static final int L_32768 = 23;
private static final int L_65536 = 24;
private static final int L_16777216 = 25;
private static final int L_4294967296 = 26;
private static final int L_0x00000000ffffffff = 27;
private static final int L_0xffffffff00000000 = 28;
private static final int F_M1 = 29;
private static final int D_M1 = 30;
private static final int STRING_EMPTY = 31;
private static final int FIELD_I = 32; // Implicitly uses X and Y.
private static final int FIELD_L = 33; // Implicitly uses X and Y.
private static final int FIELD_F = 34; // Implicitly uses X and Y.
private static final int FIELD_D = 35; // Implicitly uses X and Y.
private static final int METHOD_STRING_EQUALS = 36;
private static final int METHOD_STRING_LENGTH = 37;
private static final int METHOD_STRING_VALUEOF_Z = 38;
private static final int METHOD_STRING_VALUEOF_C = 39;
private static final int METHOD_STRING_VALUEOF_I = 40;
private static final int METHOD_STRING_VALUEOF_J = 41;
private static final int METHOD_STRING_VALUEOF_F = 42;
private static final int METHOD_STRING_VALUEOF_D = 43;
private static final int METHOD_STRING_VALUEOF_OBJECT = 44;
private static final int METHOD_STRINGBUFFER_INIT = 45;
private static final int METHOD_STRINGBUFFER_INIT_STRING = 46;
private static final int METHOD_STRINGBUFFER_APPEND_Z = 47;
private static final int METHOD_STRINGBUFFER_APPEND_C = 48;
private static final int METHOD_STRINGBUFFER_APPEND_I = 49;
private static final int METHOD_STRINGBUFFER_APPEND_J = 50;
private static final int METHOD_STRINGBUFFER_APPEND_F = 51;
private static final int METHOD_STRINGBUFFER_APPEND_D = 52;
private static final int METHOD_STRINGBUFFER_APPEND_STRING = 53;
private static final int METHOD_STRINGBUFFER_APPEND_OBJECT = 54;
private static final int METHOD_STRINGBUFFER_LENGTH = 55;
private static final int METHOD_STRINGBUFFER_TOSTRING = 56;
private static final int METHOD_STRINGBUILDER_INIT = 57;
private static final int METHOD_STRINGBUILDER_INIT_STRING = 58;
private static final int METHOD_STRINGBUILDER_APPEND_Z
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Conversion to Dalvik format failed with error 1 android 打包 (731个子文件)
retrace.bat 454B
proguardgui.bat 441B
proguard.bat 427B
style.css 2KB
style.css 1KB
screenshots_gui_small.gif 157KB
screenshot_gui1.gif 42KB
screenshot_gui7.gif 41KB
screenshot_gui4.gif 40KB
screenshot_gui6.gif 36KB
screenshot_gui3.gif 36KB
screenshot_gui2.gif 36KB
screenshot_gui5.gif 35KB
screenshot_gui8.gif 31KB
screenshot_console_small.gif 19KB
screenshot_console.gif 18KB
steel.gif 3KB
title.gif 3KB
attention.gif 896B
drop1.gif 803B
drop2.gif 620B
drop3.gif 175B
arrow.gif 112B
checkmark.gif 63B
usage.html 61KB
examples.html 57KB
troubleshooting.html 40KB
alternatives.html 31KB
downloads.html 28KB
ant.html 26KB
gui.html 21KB
refcard.html 19KB
examples.html 18KB
GPL.html 16KB
FAQ.html 12KB
introduction.html 8KB
optimizations.html 6KB
results.html 5KB
usage.html 5KB
testimonials.html 5KB
feedback.html 4KB
main.html 4KB
acknowledgements.html 3KB
limitations.html 3KB
index.html 3KB
screenshots.html 3KB
license.html 3KB
introduction.html 3KB
wtk.html 2KB
package.html 2KB
sections.html 2KB
quality.html 2KB
sections.html 2KB
GPL_exception.html 2KB
index.html 2KB
index.html 1KB
package.html 664B
title.html 459B
package.html 379B
package.html 162B
package.html 153B
package.html 147B
package.html 132B
package.html 129B
package.html 121B
package.html 104B
package.html 99B
package.html 94B
package.html 93B
package.html 91B
package.html 89B
package.html 87B
package.html 85B
package.html 84B
package.html 83B
package.html 82B
package.html 82B
package.html 81B
package.html 69B
package.html 67B
package.html 65B
package.html 64B
package.html 64B
favicon.ico 7KB
proguard.jar 704KB
proguardgui.jar 135KB
retrace.jar 7KB
annotations.jar 6KB
InstructionSequenceConstants.java 231KB
EvaluationShrinker.java 103KB
ProGuardGUI.java 88KB
ConfigurationParser.java 58KB
ClassUtil.java 51KB
PartialEvaluator.java 50KB
Optimizer.java 47KB
DynamicMemberReferenceInitializer.java 45KB
ProgramClassReader.java 39KB
EvaluationSimplifier.java 39KB
CodeAttributeEditor.java 38KB
ClassPrinter.java 36KB
共 731 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
jj5124
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页