Class MemoryBlockDiff

  • Direct Known Subclasses:
    MemoryRangeDiff

    public class MemoryBlockDiff
    extends java.lang.Object
    MemoryBlockDiff determines the types of differences between two memory blocks.
    • Constructor Detail

      • MemoryBlockDiff

        public MemoryBlockDiff​(MemoryBlock block1,
                               MemoryBlock block2)
        Constructor. MemoryBlockDiff determines the types of differences between two memory blocks.
        Parameters:
        block1 - the first program's memory block
        block2 - the second program's memory block
    • Method Detail

      • isNameDifferent

        public boolean isNameDifferent()
        Returns true if the memory block names differ.
      • isStartAddressDifferent

        public boolean isStartAddressDifferent()
        Returns true if the start addresses of the memory blocks differ.
      • isEndAddressDifferent

        public boolean isEndAddressDifferent()
        Returns true if the end addresses of the memory blocks differ.
      • isSizeDifferent

        public boolean isSizeDifferent()
        Returns true if the sizes of the memory blocks differ.
      • isReadDifferent

        public boolean isReadDifferent()
        Returns true if the memory blocks Read flags differ.
      • isWriteDifferent

        public boolean isWriteDifferent()
        Returns true if the memory blocks Write flags differ.
      • isExecDifferent

        public boolean isExecDifferent()
        Returns true if the memory blocks Execute flags differ.
      • isVolatileDifferent

        public boolean isVolatileDifferent()
        Returns true if the memory blocks Volatile flags differ.
      • isTypeDifferent

        public boolean isTypeDifferent()
        Returns true if the type for the memory blocks differ.
      • isInitDifferent

        public boolean isInitDifferent()
        Returns true if the initialization of the memory blocks isn't the same.
      • isSourceDifferent

        public boolean isSourceDifferent()
        Returns true if the source for the memory blocks differ.
      • isCommentDifferent

        public boolean isCommentDifferent()
        Returns true if the comments on the memory blocks differ.
      • getDifferencesAsString

        public java.lang.String getDifferencesAsString()
        Gets a string representation of the types of memory differences for this MemoryBlockDiff.