public GeneralConstObject(Type t, String n) { this.type = t; this.name = n; this.id = G.v().GeneralConstObject_counter++; }
@Override public void reset() { instance = new G(); } };
public static BooleanType v() { return G.v().soot_BooleanType(); }
/** * Returns the single instance of <code>PedanticThrowAnalysis</code>. * * @return Soot's <code>PedanticThrowAnalysis</code>. */ public static PedanticThrowAnalysis v() { return G.v().soot_toolkits_exceptions_PedanticThrowAnalysis(); }
/** * Returns the single instance of <code>AltClassLoader</code>, which loads classes from the classpath set by the most * recent call to its {@link #setAltClassPath}. * * @return Soot's <code>AltClassLoader</code>. */ public static AltClassLoader v() { return G.v().soot_util_cfgcmd_AltClassLoader(); }
/** * Singleton getter. * * @return returns instance of {@link MethodRenamer} */ public static MethodRenamer v() { return G.v().soot_jbco_jimpleTransformations_MethodRenamer(); }
public SootToCfg(List<String> resolvedClassNames) { this.resolvedClassNames = resolvedClassNames; // first reset everything: soot.G.reset(); SootTranslationHelpers.initialize(program); }
public static CharType v() { return G.v().soot_CharType(); }
public static FloatType v() { return G.v().soot_FloatType(); }
public static ErroneousType v() { return G.v().soot_ErroneousType(); }
public static DoubleType v() { return G.v().soot_DoubleType(); }
public static ByteType v() { return G.v().soot_ByteType(); }
public static EntryPoints v() { return G.v().soot_EntryPoints(); }
public void execute() throws BuildException { if( phase_help != null ) addPath("-phase-help", phase_help); if( process_dir != null ) addPath("-process-dir", process_dir); if( dump_body != null ) addPath("-dump-body", dump_body); if( dump_cfg != null ) addPath("-dump-cfg", dump_cfg); if( plugin != null ) addPath("-plugin", plugin); if( include != null ) addPath("-include", include); if( exclude != null ) addPath("-exclude", exclude); if( dynamic_class != null ) addPath("-dynamic-class", dynamic_class); if( dynamic_dir != null ) addPath("-dynamic-dir", dynamic_dir); if( dynamic_package != null ) addPath("-dynamic-package", dynamic_package); if(DEBUG) System.out.println(args); try { soot.Main.main((String[]) args.toArray(new String[0])); soot.G.v().reset(); } catch( Exception e ) { e.printStackTrace(); throw new BuildException(e); } }
/** * Returns the single instance of <code>UnitThrowAnalysis</code>. * * @return Soot's <code>UnitThrowAnalysis</code>. */ public static UnitThrowAnalysis v() { return G.v().soot_toolkits_exceptions_UnitThrowAnalysis(); }
/** * Returns the single instance of <code>ThrowableSet.Manager</code>. * * @return Soot's <code>ThrowableSet.Manager</code>. */ public static Manager v() { return G.v().soot_toolkits_exceptions_ThrowableSet_Manager(); }
public static ShortType v() { return G.v().soot_ShortType(); }
public static Environment v() { return G.v().soot_jimple_toolkits_pointer_representations_Environment(); }
public static SourceLocator v() { return G.v().soot_SourceLocator(); }
public static Timers v() { return G.v().soot_Timers(); }