Class JCImageAddressSpace

java.lang.Object
com.ibm.dtfj.image.javacore.JCImageAddressSpace
All Implemented Interfaces:
ImageAddressSpace

public class JCImageAddressSpace extends Object implements ImageAddressSpace
  • Constructor Details

    • JCImageAddressSpace

      public JCImageAddressSpace(JCImage image)
  • Method Details

    • getByteOrder

      public ByteOrder getByteOrder()
      Description copied from interface: ImageAddressSpace
      Return the byte order of this address space.
      Specified by:
      getByteOrder in interface ImageAddressSpace
      Returns:
      the byte order of this address space
    • getCurrentProcess

      public ImageProcess getCurrentProcess()
      At the moment, just the last process to be added
      Specified by:
      getCurrentProcess in interface ImageAddressSpace
      Returns:
      the process within this address space which caused the image to be created, if any. Return null if no individual process triggered the creation of the image.
    • getImageSections

      public Iterator getImageSections()
      Description copied from interface: ImageAddressSpace
      Get the raw memory in the address space.
      Specified by:
      getImageSections in interface ImageAddressSpace
      Returns:
      An iterator of all the ImageSections in the address. Their union will be the total process address space.
      See Also:
    • getPointer

      public ImagePointer getPointer(long address)
      Description copied from interface: ImageAddressSpace
      A factory method for creating pointers into this address space.
      Specified by:
      getPointer in interface ImageAddressSpace
      Parameters:
      address - the address to point to.
      Returns:
      an ImagePointer for the specified address.
    • getProcesses

      public Iterator getProcesses()
      Description copied from interface: ImageAddressSpace
      Get the set of processes within the address space.
      Specified by:
      getProcesses in interface ImageAddressSpace
      Returns:
      an iterator which provides all of the processes within a given address space.
      See Also:
    • addImageProcess

      public void addImageProcess(ImageProcess imageProcess)
      Not in DTFJ
      Parameters:
      imageProcess -
    • getImage

      public JCImage getImage()
      Not in DTFJ
    • isValidAddressID

      public boolean isValidAddressID(long id)
      NOT in DTFJ. For building purposes only. Do not use to check if an address value is found in a given address space. It only checks that the address is not set to a default "unavailable" value.
      Parameters:
      id -
    • addImageSection

      public void addImageSection(ImageSection imageSection)
      Not in DTFJ
      Parameters:
      imageSection - The new image section to add to the list
    • getID

      Description copied from interface: ImageAddressSpace
      Gets the system wide identifier for the address space
      Specified by:
      getID in interface ImageAddressSpace
      Returns:
      address space ID
      Throws:
      DataUnavailable
      CorruptDataException
    • getProperties

      public Properties getProperties()
      Description copied from interface: ImageAddressSpace
      Gets the OS specific properties for this address space.
      Specified by:
      getProperties in interface ImageAddressSpace
      Returns:
      a set of OS specific properties