Interface SoFileLoader

All Known Implementing Classes:
InstrumentedSoFileLoader, SoFileLoaderImpl

public interface SoFileLoader
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(String pathToSoFile, int loadFlags)
    Load the so file from given path.
    void
    loadBytes(String pathName, ElfByteChannel bytes, int loadFlags)
    Load the so from memory.
  • Method Details

    • load

      void load(String pathToSoFile, int loadFlags)
      Load the so file from given path.
      Parameters:
      pathToSoFile - so file path
      loadFlags - loadFlags
    • loadBytes

      void loadBytes(String pathName, ElfByteChannel bytes, int loadFlags)
      Load the so from memory.
      Parameters:
      pathName - Name of the so file used to distinguish it from other loaded shared objects. If the file is compressed in a file, the compressed file can be used as a name.
      bytes - An elf byte channel containing the bytes representing the shared object to be loaded.
      loadFlags - SoLoader flags