chord.analyses.alias
Class CSCGAnalysis

java.lang.Object
  extended by chord.project.analyses.JavaAnalysis
      extended by chord.analyses.alias.CSCGAnalysis
All Implemented Interfaces:
ITask
Direct Known Subclasses:
ThrOblAbbrCSCGAnalysis, ThrSenAbbrCSCGAnalysis

public class CSCGAnalysis
extends JavaAnalysis

Context-sensitive call graph analysis.

Author:
Mayur Naik (mhn@cs.stanford.edu)

Field Summary
protected  CSCG callGraph
           
protected  DomM domM
           
protected  ProgramRel relCICM
           
protected  ProgramRel relCMCM
           
protected  ProgramRel relReachableCM
           
protected  ProgramRel relRootCM
           
 
Fields inherited from class chord.project.analyses.JavaAnalysis
consumes, controls, name, produces
 
Constructor Summary
CSCGAnalysis()
           
 
Method Summary
 void free()
          Frees relations used by this program analysis if they are in memory.
 ICSCG getCallGraph()
          Provides the program's context-sensitive call graph.
 void run()
          Executes this analysis in a "classic" project.
 
Methods inherited from class chord.project.analyses.JavaAnalysis
getName, run, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

domM

protected DomM domM

relCICM

protected ProgramRel relCICM

relCMCM

protected ProgramRel relCMCM

relRootCM

protected ProgramRel relRootCM

relReachableCM

protected ProgramRel relReachableCM

callGraph

protected CSCG callGraph
Constructor Detail

CSCGAnalysis

public CSCGAnalysis()
Method Detail

run

public void run()
Description copied from interface: ITask
Executes this analysis in a "classic" project. This method must usually not be called directly. The correct way to call it is to call ClassicProject.runTask(String) or ClassicProject.runTask(ITask), providing this analysis either by its name or its object.

Specified by:
run in interface ITask
Overrides:
run in class JavaAnalysis

getCallGraph

public ICSCG getCallGraph()
Provides the program's context-sensitive call graph.

Returns:
The program's context-sensitive call graph.

free

public void free()
Frees relations used by this program analysis if they are in memory.

This method must be called after clients are done exercising the interface of this analysis.