Class FunctionCallFixupFieldLocation

All Implemented Interfaces:
Cloneable, Comparable<ProgramLocation>

public class FunctionCallFixupFieldLocation extends FunctionLocation
The FunctionCallFixupFieldLocation class provides specific information about the Function call-fixup field within a program location.
  • Constructor Details

    • FunctionCallFixupFieldLocation

      public FunctionCallFixupFieldLocation(Program program, Address locationAddr, Address functionAddr, String callFixupName, int charOffset)
      Construct a new FunctionCallFixupFieldLocation object.
      Parameters:
      program - the program of the location
      locationAddr - the address of the listing location (i.e., referent code unit)
      functionAddr - the function address
      callFixupName - the function call-fixup field text String at this location.
      charOffset - the character position within the field
    • FunctionCallFixupFieldLocation

      public FunctionCallFixupFieldLocation()
      Default constructor needed for restoring a program location from XML
  • Method Details

    • getCallFixupName

      public String getCallFixupName()
      Get function call fixup name
      Returns:
      function call fixup name
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ProgramLocation
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class FunctionLocation
    • toString

      public String toString()
      Overrides:
      toString in class FunctionLocation
    • saveState

      public void saveState(SaveState obj)
      Description copied from class: FunctionLocation
      Save this function location to the given save state object.
      Overrides:
      saveState in class FunctionLocation
      Parameters:
      obj - the save state object for saving the location
    • restoreState

      public void restoreState(Program p, SaveState obj)
      Description copied from class: FunctionLocation
      Restore this function location using the given program and save state object.
      Overrides:
      restoreState in class FunctionLocation
      Parameters:
      p - the program containing the function location
      obj - the save state object for saving the location