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 TypeMethodDescriptionlong
Get the address at which the module or executable was loaded.getName()
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
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
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
Get the address at which the module or executable was loaded.- Returns:
- the address
- Throws:
CorruptDataException
DataUnavailable
-