Package com.facebook.soloader
Interface SoFileLoader
- All Known Implementing Classes:
InstrumentedSoFileLoader,SoFileLoaderImpl
public interface SoFileLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoidLoad the so file from given path.voidloadBytes(String pathName, ElfByteChannel bytes, int loadFlags) Load the so from memory.
-
Method Details
-
load
Load the so file from given path.- Parameters:
pathToSoFile- so file pathloadFlags- loadFlags
-
loadBytes
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
-