harpoon.Analysis.Quads
Class MethodTraceFactory

java.lang.Object
  extended by harpoon.Analysis.Transformation.MethodMutator<Quad>
      extended by harpoon.Analysis.Quads.MethodTraceFactory
All Implemented Interfaces:
Serializable

public class MethodTraceFactory
extends MethodMutator<Quad>

MethodTraceFactory adds DEBUG quads to the entry and exit points of every method. Comparing the debug output of a working and 'broken' program should make it easier to isolate which part of the 'broken' binary isn't behaving as expected.

Version:
$Id: MethodTraceFactory.java,v 1.4 2004/02/08 01:53:14 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
Serialized Form

Constructor Summary
MethodTraceFactory(HCodeFactory parent)
          Creates a MethodTraceFactory.
 
Method Summary
 HCode<Quad> mutateHCode(HCodeAndMaps<Quad> input)
          Override this method to effect transformations on split methods.
 
Methods inherited from class harpoon.Analysis.Transformation.MethodMutator
cloneHCode, codeFactory, mutateCodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodTraceFactory

public MethodTraceFactory(HCodeFactory parent)
Creates a MethodTraceFactory.

Method Detail

mutateHCode

public HCode<Quad> mutateHCode(HCodeAndMaps<Quad> input)
Description copied from class: MethodMutator
Override this method to effect transformations on split methods.

Overrides:
mutateHCode in class MethodMutator<Quad>