Java 类soot.jimple.infoflow.solver.cfg.BackwardsInfoflowCFG 实例源码
项目:ideal
文件:AnalysisContext.java
public AnalysisContext(IInfoflowCFG icfg, BackwardsInfoflowCFG bwicfg, AnalysisEdgeFunctions<V> edgeFunc,
IDebugger<V> debugger) {
this.icfg = icfg;
this.bwicfg = bwicfg;
this.debugger = debugger;
this.edgeFunc = edgeFunc;
}
项目:ideal
文件:Analysis.java
public Analysis(AnalysisProblem<V> problem, IInfoflowCFG icfg) {
this.edgeFunc = problem.edgeFunctions();
this.problem = problem;
this.icfg = icfg;
this.bwicfg = new BackwardsInfoflowCFG(icfg);
this.debugger = new NullDebugger<V>();
}
项目:ideal
文件:Analysis.java
public Analysis(AnalysisProblem<V> problem, IInfoflowCFG icfg, IDebugger<V> debugger) {
this.edgeFunc = problem.edgeFunctions();
this.problem = problem;
this.icfg = icfg;
this.bwicfg = new BackwardsInfoflowCFG(icfg);
this.debugger = debugger;
}
项目:FuzzDroid
文件:Main.java
private Set<FrameworkEvent> getFrameworkEvents(Unit targetLocation, BackwardsInfoflowCFG cfg) {
FrameworkEventManager eventManager = FrameworkEventManager.getEventManager();
ProcessManifest manifest = UtilApk.getManifest();
Set<FrameworkEvent> targetAndroidEvents = eventManager.extractInitalEventsForReachingTarget(targetLocation, cfg, manifest);
return targetAndroidEvents;
}
项目:FuzzDroid
文件:FrameworkEventManager.java
public Set<FrameworkEvent> extractInitalEventsForReachingTarget(Unit targetLocation, BackwardsInfoflowCFG backwardsCFG, ProcessManifest manifest) {
Set<Unit> headUnits = getAllInitalMethodCalls(targetLocation, backwardsCFG);
Set<FrameworkEvent> androidEvents = getAndroidEventsFromManifest(backwardsCFG, headUnits, manifest);
return androidEvents;
}
项目:FuzzDroid
文件:DecisionMakerConfig.java
public void initializeCFG() {
InfoflowCFG forwardCFG = new InfoflowCFG();
backwardsCFG = new BackwardsInfoflowCFG(forwardCFG);
}
项目:FuzzDroid
文件:DecisionMakerConfig.java
public BackwardsInfoflowCFG getBackwardsCFG() {
return backwardsCFG;
}
项目:boomerang
文件:AliasFinder.java
public AliasFinder(IInfoflowCFG cfg, BoomerangOptions options) {
this(cfg, new BackwardsInfoflowCFG(cfg), options);
}
项目:boomerang
文件:AliasFinder.java
public AliasFinder(IInfoflowCFG cfg, BackwardsInfoflowCFG bwcfg, BoomerangOptions options) {
this.context = new BoomerangContext(cfg, bwcfg, options);
}
项目:JAADAS
文件:IFDSReachingConstantDefinitions.java
public IFDSReachingConstantDefinitions(BackwardsInfoflowCFG icfg, IAPIVulnManager imanager) {
super(icfg);
infoflowCFG = icfg;
manager = imanager;
}
项目:boomerang
文件:AliasFinder.java
/**
* Constructs an AliasFinder with the provided interprocedural control flow
* graph.
*
* @param cfg
* the interprocedural control flow graph.
*/
public AliasFinder(IInfoflowCFG cfg) {
this(cfg, new BackwardsInfoflowCFG(cfg), new BoomerangOptions());
}