Java Code Examples for soot.options.Options#set_output_format()
The following examples show how to use
soot.options.Options#set_output_format() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConfigSecuriBench.java From JAADAS with GNU General Public License v3.0 | 6 votes |
@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); }
Example 2
Source File: SootConfigForAndroid.java From JAADAS with GNU General Public License v3.0 | 5 votes |
@Override public void setSootOptions(Options options) { // explicitly include packages for shorter runtime: List<String> excludeList = new LinkedList<String>(); excludeList.add("java."); excludeList.add("sun.misc."); excludeList.add("android."); excludeList.add("org.apache."); excludeList.add("soot."); excludeList.add("javax.servlet."); options.set_exclude(excludeList); Options.v().set_no_bodies_for_excluded(true); options.set_output_format(Options.output_format_none); }
Example 3
Source File: SootConfigForAndroid.java From JAADAS with GNU General Public License v3.0 | 5 votes |
@Override public void setSootOptions(Options options) { // explicitly include packages for shorter runtime: List<String> excludeList = new LinkedList<String>(); excludeList.add("java."); excludeList.add("sun.misc."); excludeList.add("android."); excludeList.add("org.apache."); excludeList.add("soot."); excludeList.add("javax.servlet."); options.set_exclude(excludeList); Options.v().set_no_bodies_for_excluded(true); options.set_output_format(Options.output_format_none); }
Example 4
Source File: ConfigForTest.java From JAADAS with GNU General Public License v3.0 | 5 votes |
@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"); }