Class VariableLocFieldLocation

All Implemented Interfaces:
Cloneable, Comparable<ProgramLocation>

public class VariableLocFieldLocation extends VariableLocation
The VariableLocFieldLocation class provides specific information about the stack variable offset field within a program location.
  • Constructor Details

    • VariableLocFieldLocation

      public VariableLocFieldLocation(Program program, Address locationAddr, Variable var, int charOffset)
      Construct a new VariableLocFieldLocation object.
      Parameters:
      program - the program of the location
      locationAddr - the address of the listing location (i.e., referent code unit)
      var - the variable which has its location (stack offset) in the field.
      charOffset - the position within the variable location (stack offset) string for this location.
    • VariableLocFieldLocation

      public VariableLocFieldLocation(Program program, Variable var, int charOffset)
      Construct a new VariableLocFieldLocation object. Variable function entry point is the assumed listing location (i.e., referent code unit). Care should be taken if variable corresponds to an EXTERNAL function.
      Parameters:
      program - the program of the location
      var - the variable which has its location (stack offset) in the field.
      charOffset - the position within the variable location (stack offset) string for this location.
    • VariableLocFieldLocation

      public VariableLocFieldLocation()
      Should only be used by XML restoration.
  • Method Details