File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ load any in-memory ELF shared objects (lib*.so) without a writable path/mount po
12
12
- Implemented in 100% pure Java 1.8
13
13
- No shared libraries (lib* .so) or assets files are shipped with the library (whole library as a single dex file version 035)
14
14
- No ` System.loadLibrary ` or ` System.load ` is used
15
+ - Support passive JNI registration (e.g. ` Java_com_example_test_app_TestNativeLoader_nativeMethod ` )
15
16
- No temporary files are created on the disk (does not require a writable path/mount point)
16
17
- No blocklisted hidden APIs are used
17
18
- Small, no dependencies (less than 100 KiB)
@@ -28,6 +29,8 @@ The library provides the following classes:
28
29
- [ Syscall] ( core-syscall/src/main/java/dev/tmpfs/libcoresyscall/core/Syscall.java ) : Make any Linux system calls.
29
30
- [ DlExtLibraryLoader] ( core-syscall/src/main/java/dev/tmpfs/libcoresyscall/elfloader/DlExtLibraryLoader.java ) :
30
31
Load any ELF shared objects (lib* .so) directly from memory.
32
+ - [ NativeRegistrationHelper] ( core-syscall/src/main/java/dev/tmpfs/libcoresyscall/elfloader/NativeRegistrationHelper.java ) :
33
+ Helper class to register native methods for the native library.
31
34
32
35
## Examples
33
36
You can’t perform that action at this time.
0 commit comments