soot.G类的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(100)

本文整理了Java中soot.G类的一些代码示例,展示了G类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。G类的具体详情如下:
包路径:soot.G
类名称:G

G介绍

[英]A class to group together all the global variables in Soot.
[中]将所有全局变量组合在一起的类。

代码示例

代码示例来源:origin: Sable/soot

public GeneralConstObject(Type t, String n) {
 this.type = t;
 this.name = n;
 this.id = G.v().GeneralConstObject_counter++;
}

代码示例来源:origin: Sable/soot

@Override
 public void reset() {
  instance = new G();
 }
};

代码示例来源:origin: Sable/soot

public static BooleanType v() {
 return G.v().soot_BooleanType();
}

代码示例来源:origin: Sable/soot

/**
 * 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();
}

代码示例来源:origin: Sable/soot

/**
 * 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();
}

代码示例来源:origin: Sable/soot

/**
 * Singleton getter.
 *
 * @return returns instance of {@link MethodRenamer}
 */
public static MethodRenamer v() {
 return G.v().soot_jbco_jimpleTransformations_MethodRenamer();
}

代码示例来源:origin: jayhorn/jayhorn

public SootToCfg(List<String> resolvedClassNames) {
  this.resolvedClassNames = resolvedClassNames;
  // first reset everything:
  soot.G.reset();
  SootTranslationHelpers.initialize(program);
}

代码示例来源:origin: Sable/soot

public static CharType v() {
 return G.v().soot_CharType();
}

代码示例来源:origin: Sable/soot

public static FloatType v() {
 return G.v().soot_FloatType();
}

代码示例来源:origin: Sable/soot

public static ErroneousType v() {
 return G.v().soot_ErroneousType();
}

代码示例来源:origin: Sable/soot

public static DoubleType v() {
 return G.v().soot_DoubleType();
}

代码示例来源:origin: Sable/soot

public static ByteType v() {
 return G.v().soot_ByteType();
}

代码示例来源:origin: Sable/soot

public static EntryPoints v() {
 return G.v().soot_EntryPoints();
}

代码示例来源:origin: Sable/soot

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);
  }
}

代码示例来源:origin: Sable/soot

/**
 * 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();
}

代码示例来源:origin: Sable/soot

/**
 * 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();
}

代码示例来源:origin: Sable/soot

public static ShortType v() {
 return G.v().soot_ShortType();
}

代码示例来源:origin: Sable/soot

public static Environment v() {
 return G.v().soot_jimple_toolkits_pointer_representations_Environment();
}

代码示例来源:origin: Sable/soot

public static SourceLocator v() {
 return G.v().soot_SourceLocator();
}

代码示例来源:origin: Sable/soot

public static Timers v() {
 return G.v().soot_Timers();
}

相关文章

微信公众号

最新文章

更多

G类方法