Module openj9.dtfj

Class ImageModule

java.lang.Object
com.ibm.dtfj.image.j9.ImageModule
All Implemented Interfaces:
ImageModule

public class ImageModule extends Object implements ImageModule
  • Constructor Details

  • Method Details

    • getName

      public String getName() throws CorruptDataException
      Description copied from interface: ImageModule
      Get the file name of the shared library.
      Specified by:
      getName in interface ImageModule
      Returns:
      the file name of the shared library.
      Throws:
      CorruptDataException - If the module is corrupt and the original file cannot be determined.
    • getSections

      public Iterator getSections()
      Description copied from interface: ImageModule
      Get the collection of sections that make up this library.
      Specified by:
      getSections in interface ImageModule
      Returns:
      a collection of sections that make up this library.
      See Also:
    • getSymbols

      public Iterator getSymbols()
      Description copied from interface: ImageModule
      Provides a collection of symbols defined by the library. This list is likely incomplete as many symbols may be private, symbols may have been stripped from the library, or symbols may not by available in the image.
      Specified by:
      getSymbols in interface ImageModule
      Returns:
      a collection of symbols which are defined by this library.
      See Also:
    • getProperties

      public Properties getProperties() throws CorruptDataException
      Description copied from interface: ImageModule
      Get the table of properties associated with this module.
      Specified by:
      getProperties in interface ImageModule
      Returns:
      a table of properties associated with this module. Values typically defined in this table include:
      • "version" -- version information about the module
      Throws:
      CorruptDataException
    • getLoadAddress

      public long getLoadAddress() throws DataUnavailable
      Description copied from interface: ImageModule
      Get the address at which the module or executable was loaded.
      Specified by:
      getLoadAddress in interface ImageModule
      Returns:
      the address
      Throws:
      DataUnavailable