Interface SoFileLoader


  • public interface SoFileLoader
    • Method Summary

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

      • load

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

        void loadBytes​(java.lang.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