亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? obfuscator.java

?? proguard 3.5 java 混淆器 最新 免費 好用的 大家用用試一下吧 天行健-君子以自強不息 地勢坤-君子以厚德載物
?? JAVA
字號:
/* $Id: Obfuscator.java,v 1.2.2.2 2006/01/16 22:57:56 eric Exp $ * * ProGuard -- shrinking, optimization, and obfuscation of Java class files. * * Copyright (c) 2002-2006 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.obfuscate;import proguard.*;import proguard.classfile.*;import proguard.classfile.editor.*;import proguard.classfile.util.MethodInfoLinker;import proguard.classfile.visitor.*;import java.io.*;import java.util.*;/** * This class can perform obfuscation of class pools according to a given * specification. * * @author Eric Lafortune */public class Obfuscator{    private Configuration configuration;    /**     * Creates a new Obfuscator.     */    public Obfuscator(Configuration configuration)    {        this.configuration = configuration;    }    /**     * Performs obfuscation of the given program class pool.     */    public void execute(ClassPool programClassPool,                        ClassPool libraryClassPool) throws IOException    {        // Check if we have at least some keep commands.        if (configuration.keep         == null &&            configuration.keepNames    == null &&            configuration.applyMapping == null &&            configuration.printMapping == null)        {            throw new IOException("You have to specify '-keep' options for the obfuscation step.");        }        // Clean up any old visitor info.        programClassPool.classFilesAccept(new ClassFileCleaner());        libraryClassPool.classFilesAccept(new ClassFileCleaner());        // Link all methods that should get the same names.        programClassPool.classFilesAccept(new BottomClassFileFilter(                                          new MethodInfoLinker()));        // Create a visitor for marking the seeds.        NameMarker nameMarker = new NameMarker();        ClassPoolVisitor classPoolvisitor =            new MultiClassPoolVisitor(new ClassPoolVisitor[]            {                ClassSpecificationVisitorFactory.createClassPoolVisitor(configuration.keep,                                                                        nameMarker,                                                                        nameMarker),                ClassSpecificationVisitorFactory.createClassPoolVisitor(configuration.keepNames,                                                                        nameMarker,                                                                        nameMarker)            });        // Mark the seeds.        programClassPool.accept(classPoolvisitor);        libraryClassPool.accept(classPoolvisitor);        // All library classes and library class members keep their names.        libraryClassPool.classFilesAccept(nameMarker);        libraryClassPool.classFilesAccept(new AllMemberInfoVisitor(nameMarker));        // Apply the mapping, if one has been specified. The mapping can        // override the names of library classes and of library class members.        if (configuration.applyMapping != null)        {            MappingReader    reader = new MappingReader(configuration.applyMapping);            MappingProcessor keeper =                new MultiMappingProcessor(new MappingProcessor[]                {                    new MappingKeeper(programClassPool),                    new MappingKeeper(libraryClassPool),                });            reader.pump(keeper);        }        // Mark attributes that have to be kept.        AttributeUsageMarker attributeUsageMarker = new AttributeUsageMarker();        if (configuration.keepAttributes != null)        {            if (configuration.keepAttributes.size() != 0)            {                attributeUsageMarker.setKeepAttributes(configuration.keepAttributes);            }            else            {                attributeUsageMarker.setKeepAllAttributes();            }        }        programClassPool.classFilesAccept(attributeUsageMarker);        // Remove the attributes that can be discarded.        programClassPool.classFilesAccept(new AttributeShrinker());        // Come up with new names for all class files.        programClassPool.classFilesAccept(new ClassFileObfuscator(programClassPool,                                                                  configuration.defaultPackage,                                                                  configuration.useMixedCaseClassNames));        NameFactory nameFactory = new SimpleNameFactory();        if (configuration.obfuscationDictionary != null)        {            nameFactory = new DictionaryNameFactory(configuration.obfuscationDictionary, nameFactory);        }        Map descriptorMap = new HashMap();        // Come up with new names for all non-private class members.        programClassPool.classFilesAccept(            new BottomClassFileFilter(            new MultiClassFileVisitor(new ClassFileVisitor[]            {                // Collect all member names in this name space.                new ClassFileHierarchyTraveler(true, true, true, false,                new AllMemberInfoVisitor(                new MemberInfoNameCollector(configuration.overloadAggressively,                                            descriptorMap))),                // Assign new names to all non-private members in this name space.                new ClassFileHierarchyTraveler(true, true, true, false,                new AllMemberInfoVisitor(                new MemberInfoAccessFilter(0, ClassConstants.INTERNAL_ACC_PRIVATE,                new MemberInfoObfuscator(configuration.overloadAggressively,                                         nameFactory,                                         descriptorMap)))),                // Clear the collected names.                new MapCleaner(descriptorMap)            })));        // Come up with new names for all private class members.        programClassPool.classFilesAccept(            new MultiClassFileVisitor(new ClassFileVisitor[]            {                // Collect all member names in this class.                new AllMemberInfoVisitor(                new MemberInfoNameCollector(configuration.overloadAggressively,                                            descriptorMap)),                // Collect all non-private member names higher up the hierarchy.                new ClassFileHierarchyTraveler(false, true, true, false,                new AllMemberInfoVisitor(                new MemberInfoAccessFilter(0, ClassConstants.INTERNAL_ACC_PRIVATE,                new MemberInfoNameCollector(configuration.overloadAggressively,                                            descriptorMap)))),                // Assign new names to all private members in this class.                new AllMemberInfoVisitor(                new MemberInfoAccessFilter(ClassConstants.INTERNAL_ACC_PRIVATE, 0,                new MemberInfoObfuscator(configuration.overloadAggressively,                                         nameFactory,                                         descriptorMap))),                // Clear the collected names.                new MapCleaner(descriptorMap)            }));        // Some class members may have ended up with conflicting names.        // Collect all special member names.        programClassPool.classFilesAccept(            new AllMemberInfoVisitor(            new MemberInfoSpecialNameFilter(            new MemberInfoNameCollector(configuration.overloadAggressively,                                        descriptorMap))));        libraryClassPool.classFilesAccept(            new AllMemberInfoVisitor(            new MemberInfoSpecialNameFilter(            new MemberInfoNameCollector(configuration.overloadAggressively,                                        descriptorMap))));        // Replace the conflicting member names with special, globally unique names.        programClassPool.classFilesAccept(            new AllMemberInfoVisitor(            new MemberInfoNameConflictFilter(            new MultiMemberInfoVisitor(new MemberInfoVisitor[]            {                new MemberInfoNameCleaner(),                new MemberInfoObfuscator(configuration.overloadAggressively,                                         new SpecialNameFactory(new SimpleNameFactory()),                                         descriptorMap),            }))));        descriptorMap.clear();        // Print out the mapping, if requested.        if (configuration.printMapping != null)        {            PrintStream ps = isFile(configuration.printMapping) ?                new PrintStream(new BufferedOutputStream(new FileOutputStream(configuration.printMapping))) :                System.out;            // Print out items that will be removed.            programClassPool.classFilesAcceptAlphabetically(new MappingPrinter(ps));            if (ps != System.out)            {                ps.close();            }        }        // Actually apply the new names.        programClassPool.classFilesAccept(new ClassFileRenamer());        libraryClassPool.classFilesAccept(new ClassFileRenamer());        // Update all references to these new names.        programClassPool.classFilesAccept(new ClassFileReferenceFixer(false));        libraryClassPool.classFilesAccept(new ClassFileReferenceFixer(false));        programClassPool.classFilesAccept(new MemberReferenceFixer(1024));        // Make package visible elements public, if necessary.        if (configuration.defaultPackage != null)        {            programClassPool.classFilesAccept(new ClassFileOpener());        }        // Rename the source file attributes, if requested.        if (configuration.newSourceFileAttribute != null)        {            programClassPool.classFilesAccept(new SourceFileRenamer(configuration.newSourceFileAttribute));        }        // Mark NameAndType constant pool entries that have to be kept        // and remove the other ones.        programClassPool.classFilesAccept(new NameAndTypeUsageMarker());        programClassPool.classFilesAccept(new NameAndTypeShrinker(1024));        // Mark Utf8 constant pool entries that have to be kept        // and remove the other ones.        programClassPool.classFilesAccept(new Utf8UsageMarker());        programClassPool.classFilesAccept(new Utf8Shrinker(1024));    }    /**     * Returns whether the given file is actually a file, or just a placeholder     * for the standard output.     */    private boolean isFile(File file)    {        return file.getPath().length() > 0;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91国偷自产一区二区三区观看| 精品国产一区a| 91麻豆精品91久久久久久清纯| 国产欧美精品一区二区色综合朱莉 | 欧美性一级生活| 精品国产成人系列| 亚洲一二三区不卡| 大桥未久av一区二区三区中文| 91精品国产色综合久久不卡电影| 自拍视频在线观看一区二区| 国产精品一区二区三区四区 | 99在线精品视频| 欧美α欧美αv大片| 亚洲一区欧美一区| 99在线热播精品免费| 精品av综合导航| 亚洲成人av电影在线| 91天堂素人约啪| 国产日韩精品一区二区三区 | 亚洲男人天堂av网| 大美女一区二区三区| 久久女同性恋中文字幕| 免费看欧美女人艹b| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 国产亚洲一区二区三区在线观看| 免费在线观看成人| 4438x亚洲最大成人网| 亚洲一级二级在线| 91久久精品一区二区| 国产精品久久久久久久蜜臀| www.色综合.com| 国产精品久久久久久久久晋中 | 国产女人aaa级久久久级| 久久国产精品免费| 欧美一区二区国产| 午夜成人免费电影| 日韩欧美在线1卡| 久久国内精品视频| 久久免费视频色| 成人伦理片在线| 亚洲欧美日韩国产另类专区| 色婷婷综合久久久中文一区二区| 一区二区三区蜜桃| 欧美精品免费视频| 蜜臀精品久久久久久蜜臀| 精品国产乱码久久久久久久久| 国产精品白丝jk黑袜喷水| 国产视频一区在线观看| 成人h版在线观看| 亚洲伦理在线精品| 欧美美女网站色| 精品在线播放午夜| 国产精品天美传媒沈樵| 色94色欧美sute亚洲线路二| 秋霞影院一区二区| 国产色综合一区| 99re这里只有精品视频首页| 亚洲在线成人精品| 69堂国产成人免费视频| 国产精品羞羞答答xxdd| 亚洲免费视频中文字幕| 欧美一区二区三区啪啪| 国产成人免费xxxxxxxx| 一区二区三区美女| 久久久噜噜噜久噜久久综合| 93久久精品日日躁夜夜躁欧美| 午夜免费欧美电影| 国产亚洲自拍一区| 欧美日韩黄色影视| 国产精品一区二区男女羞羞无遮挡 | 樱桃视频在线观看一区| 欧美一区二区三区视频在线观看| 丁香婷婷综合激情五月色| 一区二区日韩电影| 精品99999| 欧美日韩中字一区| 国产91精品精华液一区二区三区| 亚洲午夜精品久久久久久久久| 精品国产一区二区三区久久久蜜月| 色综合天天综合色综合av| 美女一区二区三区在线观看| 综合久久综合久久| 久久一二三国产| 欧美中文字幕一区| 成人高清视频在线| 麻豆成人91精品二区三区| 亚洲精品欧美二区三区中文字幕| 久久综合国产精品| 69堂精品视频| 欧美三级午夜理伦三级中视频| 国产成人av资源| 久久成人av少妇免费| 亚洲国产精品久久人人爱| 中文字幕一区二区日韩精品绯色| 欧美成人a视频| 制服丝袜亚洲播放| 在线视频综合导航| aaa国产一区| 成人免费精品视频| 成人黄色免费短视频| 国产精品自拍一区| 久久久久久日产精品| 91精品国产麻豆国产自产在线| 色成年激情久久综合| 成人国产在线观看| 国产精品羞羞答答xxdd| 久久精品国产秦先生| 婷婷开心久久网| 亚洲国产一二三| 亚洲精品成人在线| 亚洲欧美激情插| 国产精品第13页| 国产精品白丝在线| 国产精品国产自产拍高清av王其| 国产精品嫩草影院av蜜臀| 久久久久久毛片| 久久综合一区二区| 精品三级av在线| 久久久久国产一区二区三区四区| 精品国产一区二区三区四区四 | 国产精品美女www爽爽爽| 国产视频一区不卡| 国产精品网站在线观看| 国产女主播在线一区二区| |精品福利一区二区三区| 亚洲精品欧美综合四区| 午夜精品福利视频网站| 日本中文在线一区| 极品销魂美女一区二区三区| 国产一区二区精品久久| 国产成人精品综合在线观看| 丁香激情综合五月| 91在线精品一区二区三区| 在线免费av一区| 777久久久精品| 欧美精品一区二区三区在线 | 天天综合色天天综合色h| 婷婷六月综合亚洲| 韩国女主播一区| 99re在线精品| 欧美一区二区三区在线视频| 欧美精品一区男女天堂| 成人欧美一区二区三区视频网页| 亚洲一区免费视频| 狠狠色狠狠色合久久伊人| 成人动漫在线一区| 欧美日韩大陆在线| 久久久国产精品麻豆| 一区二区在线观看免费视频播放 | 国产精品一区二区果冻传媒| av中文字幕不卡| 正在播放亚洲一区| 国产精品美日韩| 婷婷综合另类小说色区| 成人性色生活片免费看爆迷你毛片| 在线精品视频一区二区三四| 欧美mv日韩mv国产网站| 亚洲人成在线播放网站岛国| 免费在线看成人av| 91免费在线播放| www国产精品av| 亚洲小说欧美激情另类| 国产一区二三区| 欧美日韩成人一区二区| 中文一区二区在线观看| 丝袜美腿亚洲一区| 不卡一卡二卡三乱码免费网站| 日韩午夜在线观看视频| 亚洲免费在线电影| 国产成+人+日韩+欧美+亚洲| 91精品国产入口| 亚洲一区二区五区| 99久久99久久精品免费看蜜桃 | 久久激情五月激情| 精品视频色一区| 亚洲女同ⅹxx女同tv| 国产成人免费在线观看不卡| 日韩欧美一二区| 亚洲高清一区二区三区| 972aa.com艺术欧美| 欧美国产视频在线| 激情深爱一区二区| 制服丝袜国产精品| 亚洲123区在线观看| 在线一区二区三区四区| 亚洲日本中文字幕区| 顶级嫩模精品视频在线看| 欧美精品一区二区三区久久久| 日日摸夜夜添夜夜添国产精品| 91黄色激情网站| 亚洲最大色网站| 一本大道久久a久久精二百| 国产精品国产三级国产aⅴ中文 | 日韩一级片在线观看| 亚洲成av人片在线| 欧美亚洲国产一区在线观看网站 | 美女一区二区久久| 日韩一二三区不卡| 免费看日韩精品| 欧美tk—视频vk|