Module openj9.dtfj

Interface ImageModule

All Known Implementing Classes:
ImageModule, J9DDRImageModule, JCImageModule, PHDCorruptImageModule, PHDImageModule

public interface ImageModule
Represents a shared library loaded into the image, or the executable module itself.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Get the address at which the module or executable was loaded.
    Get the file name of the shared library.
    Get the table of properties associated with this module.
    Get the collection of sections that make up this library.
    Provides a collection of symbols defined by the library.
  • Method Details

    • getName

      String getName() throws CorruptDataException
      Get the file name of the shared library.
      Returns:
      the file name of the shared library.
      Throws:
      CorruptDataException - If the module is corrupt and the original file cannot be determined.
    • getSections

      Iterator getSections()
      Get the collection of sections that make up this library.
      Returns:
      a collection of sections that make up this library.
      See Also:
    • getSymbols

      Iterator getSymbols()
      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.
      Returns:
      a collection of symbols which are defined by this library.
      See Also:
    • getProperties

      Properties getProperties() throws CorruptDataException
      Get the table of properties associated with this module.
      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

      long getLoadAddress() throws CorruptDataException, DataUnavailable
      Get the address at which the module or executable was loaded.
      Returns:
      the address
      Throws:
      CorruptDataException
      DataUnavailable