public void handleNewAnalysis(Transform t, Body b) { // here save current phase name and only send if actual data flow analysis exists if (PhaseOptions.getBoolean(PhaseOptions.v().getPhaseOptions(t.getPhaseName()), "enabled")) { String name = t.getPhaseName() + " for method: " + b.getMethod().getName(); currentPhaseName(name); currentPhaseEnabled(true); doneCurrent(false); } else { currentPhaseEnabled(false); setInteractThisAnalysis(false); } }
public void handleCfgEvent(DirectedGraph<?> g) { if (currentPhaseEnabled()) { logger.debug("Analyzing: " + currentPhaseName()); doInteraction(new InteractionEvent(IInteractionConstants.NEW_ANALYSIS, currentPhaseName())); } if (isInteractThisAnalysis()) { doInteraction(new InteractionEvent(IInteractionConstants.NEW_CFG, g)); } }
public void handleNewAnalysis(Transform t, Body b){ // here save current phase name and only send if actual data flow analysis exists if (PhaseOptions.getBoolean(PhaseOptions.v().getPhaseOptions( t.getPhaseName()), "enabled")){ String name = t.getPhaseName()+" for method: "+b.getMethod().getName(); currentPhaseName(name); currentPhaseEnabled(true); doneCurrent(false); } else { currentPhaseEnabled(false); setInteractThisAnalysis(false); } }
public void handleNewAnalysis(Transform t, Body b){ // here save current phase name and only send if actual data flow analysis exists if (PhaseOptions.getBoolean(PhaseOptions.v().getPhaseOptions( t.getPhaseName()), "enabled")){ String name = t.getPhaseName()+" for method: "+b.getMethod().getName(); currentPhaseName(name); currentPhaseEnabled(true); doneCurrent(false); } else { currentPhaseEnabled(false); setInteractThisAnalysis(false); } }
public void handleCfgEvent(DirectedGraph g){ if (currentPhaseEnabled()){ G.v().out.println("Analyzing: "+currentPhaseName()); doInteraction(new InteractionEvent(IInteractionConstants.NEW_ANALYSIS, currentPhaseName())); } if (isInteractThisAnalysis()){ doInteraction(new InteractionEvent(IInteractionConstants.NEW_CFG, g)); } }
public void handleCfgEvent(DirectedGraph g){ if (currentPhaseEnabled()){ G.v().out.println("Analyzing: "+currentPhaseName()); doInteraction(new InteractionEvent(IInteractionConstants.NEW_ANALYSIS, currentPhaseName())); } if (isInteractThisAnalysis()){ doInteraction(new InteractionEvent(IInteractionConstants.NEW_CFG, g)); } }