本文整理汇总了Java中soot.options.Options.set_include方法的典型用法代码示例。如果您正苦于以下问题:Java Options.set_include方法的具体用法?Java Options.set_include怎么用?Java Options.set_include使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类soot.options.Options
的用法示例。
在下文中一共展示了Options.set_include方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setSootOptions
import soot.options.Options; //导入方法依赖的package包/类
@Override
public void setSootOptions(Options options) {
// explicitly include packages for shorter runtime:
List<String> includeList = new LinkedList<String>();
includeList.add("java.lang.*");
includeList.add("java.util.*");
includeList.add("java.io.*");
includeList.add("sun.misc.*");
includeList.add("java.net.*");
includeList.add("org.apache.http.*");
includeList.add("de.test.*");
includeList.add("soot.*");
includeList.add("securibench.*");
includeList.add("javax.servlet.*");
includeList.add("com.oreilly.servlet.*");
// includeList.add("java.security.");
// includeList.add("javax.crypto.");
options.set_include(includeList);
options.set_output_format(Options.output_format_none);
}
示例2: setSootOptions
import soot.options.Options; //导入方法依赖的package包/类
@Override
public void setSootOptions(Options options) {
// explicitly include packages for shorter runtime:
List<String> includeList = new LinkedList<String>();
includeList.add("java.lang.*");
includeList.add("java.util.*");
includeList.add("java.io.*");
includeList.add("sun.misc.*");
includeList.add("java.net.*");
includeList.add("javax.servlet.*");
includeList.add("javax.crypto.*");
includeList.add("android.*");
includeList.add("org.apache.http.*");
includeList.add("de.test.*");
includeList.add("soot.*");
includeList.add("com.example.*");
includeList.add("libcore.icu.*");
includeList.add("securibench.*");
Options.v().set_no_bodies_for_excluded(true);
Options.v().set_allow_phantom_refs(true);
options.set_include(includeList);
options.set_output_format(Options.output_format_none);
Options.v().setPhaseOption("jb", "use-original-names:true");
// Options.v().setPhaseOption("cg.spark", "string-constants:true");
}