本文整理汇总了Java中com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis类的典型用法代码示例。如果您正苦于以下问题:Java PointerAnalysis类的具体用法?Java PointerAnalysis怎么用?Java PointerAnalysis使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PointerAnalysis类属于com.ibm.wala.ipa.callgraph.propagation包,在下文中一共展示了PointerAnalysis类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: compute
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public static Collection<Statement>
compute(CallGraph CG,
PointerAnalysis<InstanceKey> pa,
Set<CGNode> partialRoots,
Collection<Statement> ss)
throws com.ibm.wala.util.CancelException
{
CallGraph pcg = PartialCallGraph.make(CG, partialRoots);
SDG sdg = new SDG(pcg, pa, new AstJavaModRef(), DataDependenceOptions.FULL, ControlDependenceOptions.FULL);
return computeBackwardSlice(sdg, ss);
}
示例2: LocalFieldAccesses
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public LocalFieldAccesses(boolean heapWritesAsUpdates,
CGNode node,
PointerAnalysis pointerAnalysis,
IClassHierarchy cha)
{
this.cha = cha;
this.node = node;
this.pointerAnalysis = pointerAnalysis;
this.heapWritesAsUpdates = heapWritesAsUpdates;
this.heapModel = pointerAnalysis.getHeapModel();
}
示例3: IPFieldAccesses
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public IPFieldAccesses(boolean heapWritesAsUpdates,
CGNode node,
PointerAnalysis pointerAnalysis,
IClassHierarchy cha,
FieldAccesses invokeAccesses) {
super(heapWritesAsUpdates, node, pointerAnalysis, cha);
this.invokeAccesses = invokeAccesses;
}
示例4: getPointerAnalysis
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public PointerAnalysis<InstanceKey> getPointerAnalysis()
{
assert hasBeenPerformed;
return pointerAnalysis;
}
示例5: getPointerAnalysis
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public PointerAnalysis getPointerAnalysis() {
return super.getPointerAnalysis();
}
示例6: getPointerAnalysis
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public PointerAnalysis getPointerAnalysis() {
return super.getPointerAnalysis();
}
示例7: getPointerAnalysis
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public PointerAnalysis<InstanceKey> getPointerAnalysis() {
return super.getPointerAnalysis();
}
示例8: MiniaturTypeDataFactory
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
public MiniaturTypeDataFactory(PointerAnalysis<InstanceKey> PA, IClassHierarchy cha) {
this.cha = cha;
this.PA = PA;
}
示例9: MiniaturJavaScriptTypeData
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
MiniaturJavaScriptTypeData(CGNode node, PointerAnalysis<InstanceKey> PA) {
this.node = node;
this.PA = PA;
}
示例10: buildSDG
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
/**
* This method builds the SDG( system dependence graph) for the slice
* Further all nodes will be printed with node+number.
*
* @param cg3
* @param pa
* @return
*/
public static SDG buildSDG(CallGraph cg3, PointerAnalysis pa) {
SDG sdg = new SDG(cg3, pa, Slicer.DataDependenceOptions.NO_HEAP,
Slicer.ControlDependenceOptions.NONE);
// printSDG(sdg);
return sdg;
}
示例11: getPointerAnalysis
import com.ibm.wala.ipa.callgraph.propagation.PointerAnalysis; //导入依赖的package包/类
PointerAnalysis getPointerAnalysis();