本文整理了Java中soot.G.v()
方法的一些代码示例,展示了G.v()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。G.v()
方法的具体详情如下:
包路径:soot.G
类名称:G
方法名:v
暂无
代码示例来源:origin: Sable/soot
public GeneralConstObject(Type t, String n) {
this.type = t;
this.name = n;
this.id = G.v().GeneralConstObject_counter++;
}
代码示例来源:origin: Sable/soot
/** Returns an iterator over any globals read/written. */
public Set getGlobals() {
if (isFull) {
return G.v().MethodRWSet_allGlobals;
}
if (globals == null) {
return Collections.EMPTY_SET;
}
return globals;
}
代码示例来源:origin: Sable/soot
public PASideEffectTester() {
if (G.v().Union_factory == null) {
G.v().Union_factory = new UnionFactory() {
public Union newUnion() {
return FullObjectSet.v();
}
};
}
}
代码示例来源:origin: Sable/soot
public void outASTMethodNode(ASTMethodNode node) {
if (changed) {
G.v().ASTTransformations_modified = true;
}
}
代码示例来源:origin: Sable/soot
public void set_Name() {
if (name == null) {
name = "label_" + Integer.toString(G.v().SETNodeLabel_uniqueId++);
}
}
代码示例来源:origin: Sable/soot
public BasicBlock(Instruction headinsn, Instruction tailinsn) {
id = G.v().coffi_BasicBlock_ids++;
head = headinsn;
tail = tailinsn;
succ = new Vector<BasicBlock>(2, 10);
pred = new Vector<BasicBlock>(2, 3);
}
代码示例来源:origin: Sable/soot
public static Array2ndDimensionSymbol v(Object which) {
Array2ndDimensionSymbol tdal = G.v().Array2ndDimensionSymbol_pool.get(which);
if (tdal == null) {
tdal = new Array2ndDimensionSymbol(which);
G.v().Array2ndDimensionSymbol_pool.put(which, tdal);
}
return tdal;
}
代码示例来源:origin: Sable/soot
public static MethodPAG v(PAG pag, SootMethod m) {
MethodPAG ret = G.v().MethodPAG_methodToPag.get(m);
if (ret == null) {
ret = new MethodPAG(pag, m);
G.v().MethodPAG_methodToPag.put(m, ret);
}
return ret;
}
代码示例来源: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
public static Parm v(SootMethod m, int index) {
Pair<SootMethod, Integer> p = new Pair<SootMethod, Integer>(m, new Integer(index));
Parm ret = (Parm) G.v().Parm_pairToElement.get(p);
if (ret == null) {
G.v().Parm_pairToElement.put(p, ret = new Parm(m, index));
}
return ret;
}
代码示例来源: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: 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
public DoublePointsToSet(Type type, PAG pag) {
super(type);
newSet = G.v().newSetFactory.newSet(type, pag);
oldSet = G.v().oldSetFactory.newSet(type, pag);
this.pag = pag;
}
代码示例来源:origin: Sable/soot
/**
* Returns the single instance of <code>DalvikThrowAnalysis</code>.
*
* @return Soot's <code>UnitThrowAnalysis</code>.
*/
public static DalvikThrowAnalysis v() {
return G.v().soot_dexpler_DalvikThrowAnalysis();
}
代码示例来源:origin: Sable/soot
/**
* Returns the single instance of <code>PhaseDumper</code>.
*
* @return Soot's <code>PhaseDumper</code>.
*/
public static PhaseDumper v() {
return G.v().soot_util_PhaseDumper();
}
代码示例来源:origin: Sable/soot
/**
* Singleton getter.
*
* @return returns instance of {@link ClassRenamer}
*/
public static ClassRenamer v() {
return G.v().soot_jbco_jimpleTransformations_ClassRenamer();
}
代码示例来源:origin: Sable/soot
/**
* Singleton getter.
*
* @return returns instance of {@link FieldRenamer}
*/
public static FieldRenamer v() {
return G.v().soot_jbco_jimpleTransformations_FieldRenamer();
}
代码示例来源:origin: Sable/soot
/**
* Checks if {@link IJbcoTransform jbco transformer} can log extra information.
*
* @return {@code true} when {@link IJbcoTransform jbco transformer} can log extra information; {@code false} otherwise
*/
default boolean isVerbose() {
return G.v().soot_options_Options().verbose() || soot.jbco.Main.jbcoVerbose;
}
代码示例来源:origin: Sable/soot
public void applyBugFixes() {
ASTNode AST = (ASTNode) this.getUnits().getFirst();
debug("applyBugFixes", "Applying AST analyzes for method" + this.getMethod().toString());
AST.apply(new ShortcutIfGenerator());
debug("applyBugFixes", "after ShortcutIfGenerator" + G.v().ASTTransformations_modified);
AST.apply(new TypeCastingError());
debug("applyBugFixes", "after TypeCastingError" + G.v().ASTTransformations_modified);
}
内容来源于网络,如有侵权,请联系作者删除!