Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As JNI use C calling convention (cdecl), there are no arguments information in the function signature. You need to analysis the corresponding java(dalvik) code to find out the arguments type.</p> <p>Here is my jni library:</p> <pre><code>00001408 g DF .text 0000000a Java_info_kghost_android_openvpn_FileDescriptorHolder_close 00001a14 g DF .text 00000198 Java_info_kghost_android_openvpn_ManagementSocket_read__ILjava_nio_ByteBuffer_2II 00001414 g DF .text 0000000c Java_info_kghost_android_openvpn_ManagementSocket_shutdown 000017c4 g DF .text 00000250 Java_info_kghost_android_openvpn_ManagementSocket_read__ILjava_nio_ByteBuffer_2IILinfo_kghost_android_openvpn_FileDescriptorHolder_2 0000142c g DF .text 00000200 Java_info_kghost_android_openvpn_ManagementSocket_write__ILjava_nio_ByteBuffer_2IILinfo_kghost_android_openvpn_FileDescriptorHolder_2 00001420 g DF .text 0000000a Java_info_kghost_android_openvpn_ManagementSocket_close 0000162c g DF .text 00000198 Java_info_kghost_android_openvpn_ManagementSocket_write__ILjava_nio_ByteBuffer_2II 00001bd4 g DF .text 000000d4 Java_info_kghost_android_openvpn_ManagementSocket_open </code></pre> <p>if there is no overload method, the signature won't contain arguments information; if the method is overloaded, the signature will contain arguments information in function name.</p> <p>And you need to load the jni library explicitly before using the native method:</p> <pre><code>System.loadLibrary("your-library-name"); </code></pre> <p>Make sure your library is placed inside <code>LD_LIBRARY_PATH</code>, <code>/lib</code> directory on Android, check the mmap (<code>/proc/pid/maps</code>) to see if it is loaded successful.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload