Module openj9.dtfj

Interface IModuleFile

  • All Known Implementing Classes:
    XCOFFReader

    public interface IModuleFile
    A binary file (shared library / executable) on disk.
    • Method Detail

      • getSymbols

        List<? extends ISymbol> getSymbols​(long relocationBase)
                                    throws IOException
        Parameters:
        relocationBase - Base address for symbols
        Returns:
        Symbols from the file.
        Throws:
        IOException
      • getTextSegment

        IMemorySource getTextSegment​(long virtualAddress,
                                     long virtualSize)
        Creates a memory source for the .text segment.
        Parameters:
        virtualAddress - Address text segment is mapped into address space
        virtualSize - Size of mapped section.
        Returns:
        IMemorySource backed by the on-disk file.