Class ValueAwareMachine

java.lang.Object
com.android.dx.cf.code.BaseMachine
com.android.dx.cf.code.ValueAwareMachine
All Implemented Interfaces:
Machine

public class ValueAwareMachine extends BaseMachine
Machine which keeps track of known values but does not do smart/realistic reference type calculations.
  • Constructor Details

    • ValueAwareMachine

      public ValueAwareMachine(Prototype prototype)
      Constructs an instance.
      Parameters:
      prototype - non-null; the prototype for the associated method
  • Method Details

    • run

      public void run(Frame frame, int offset, int opcode)
      "Runs" the indicated opcode in an appropriate way, using the arguments area as appropriate, and modifying the given frame in response.
      Parameters:
      frame - non-null; frame to operate on
      offset - >= 0; byte offset in the method to the opcode being run
      opcode - >= 0; the opcode to run