de.rwth.dfa.jvm.samples
Class SSAnalyser
java.lang.Object
|
+--de.rwth.utils.AbstractClassProcessor
|
+--de.rwth.dfa.jvm.samples.AbstractAnalyser
|
+--de.rwth.dfa.jvm.samples.SSAnalyser
- public class SSAnalyser
- extends AbstractAnalyser
An application for analyzing the size of the operand stack at each instruction of
all methods of a class file.
- Version:
- $Id: SSAnalyser.java,v 1.2 2002/09/17 06:53:53 mohnen Exp $
- Author:
- Markus Mohnen
Constructor Summary |
SSAnalyser(java.lang.String[] args)
Creates a new SSAnalyser instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSAnalyser
public SSAnalyser(java.lang.String[] args)
- Creates a new
SSAnalyser
instance.
- Parameters:
args
- a String[]
value- See Also:
AbstractAnalyser
main
public static void main(java.lang.String[] args)
- Program entry point.
- Parameters:
args
- a String[]
value- See Also:
AbstractAnalyser
getAbstraction
public Abstraction getAbstraction(de.fub.bytecode.classfile.Method method,
de.fub.bytecode.classfile.Code code,
de.fub.bytecode.classfile.CodeException[] methodExceptions,
de.fub.bytecode.generic.InstructionList instrs)
- Returns a
SSAbstraction
for a method.
- Overrides:
getAbstraction
in class AbstractAnalyser
- Parameters:
method
- a Method
valuecode
- a Code
valuemethodExceptions
- a CodeException[]
valueinstrs
- an InstructionList
value- Returns:
- an
Abstraction
value
getSolvers
public Solver[] getSolvers(Abstraction abstraction,
java.lang.String methodName,
de.fub.bytecode.generic.InstructionList methodInstrs,
de.fub.bytecode.classfile.CodeException[] methodExceptions,
Stopwatch stopwatch)
- Returns one group of solvers:
ExecutionSolver
, FlowGraphSolver
,
BasicBlockGraphSolver
.
- Overrides:
getSolvers
in class AbstractAnalyser
- Parameters:
abstraction
- an Abstraction
valuemethodName
- a String
valuemethodInstrs
- an InstructionList
valuemethodExceptions
- a CodeException[]
valuestopwatch
- a Stopwatch
value- Returns:
- a
Solver[]
value