Package soot.rbclassload

Examples of soot.rbclassload.ListClassTester


    Options.v().set_rbcl_remap_all(false);
    Options.v().set_rbcl_remap_prefix("org.trifort.rootbeer.runtime.remap.");
   
    RootbeerClassLoader.v().addEntryMethodTester(m_entryDetector);
   
    ListClassTester ignore_packages = new ListClassTester();
    ignore_packages.addPackage("com.lmax.disruptor.");
    ignore_packages.addPackage("org.trifort.rootbeer.compressor.");
    ignore_packages.addPackage("org.trifort.rootbeer.deadmethods.");
    ignore_packages.addPackage("org.trifort.rootbeer.compiler.");
    ignore_packages.addPackage("org.trifort.rootbeer.configuration.");
    ignore_packages.addPackage("org.trifort.rootbeer.entry.");
    ignore_packages.addPackage("org.trifort.rootbeer.generate.");
    ignore_packages.addPackage("org.trifort.rootbeer.test.");
    if(!runtests){
      ignore_packages.addPackage("org.trifort.rootbeer.testcases.");
    }
    ignore_packages.addPackage("org.trifort.rootbeer.util.");
    ignore_packages.addPackage("pack.");
    ignore_packages.addPackage("jasmin.");
    ignore_packages.addPackage("soot.");
    ignore_packages.addPackage("beaver.");
    ignore_packages.addPackage("polyglot.");
    ignore_packages.addPackage("org.antlr.");
    ignore_packages.addPackage("java_cup.");
    ignore_packages.addPackage("ppg.");
    ignore_packages.addPackage("antlr.");
    ignore_packages.addPackage("jas.");
    ignore_packages.addPackage("scm.");
    ignore_packages.addPackage("org.xmlpull.v1.");
    ignore_packages.addPackage("android.util.");
    ignore_packages.addPackage("android.content.res.");
    ignore_packages.addPackage("org.apache.commons.codec.");
    RootbeerClassLoader.v().addDontFollowClassTester(ignore_packages);
   
    ListClassTester keep_packages = new ListClassTester();
    for(String runtime_class : m_runtimePackages){
      keep_packages.addPackage(runtime_class);
    }
    RootbeerClassLoader.v().addToSignaturesClassTester(keep_packages);
   
    RootbeerClassLoader.v().addNewInvoke("java.lang.StringBuilder");
 
View Full Code Here

TOP

Related Classes of soot.rbclassload.ListClassTester

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.