Info List of JNI methods

Description

Java Native Interface (JNI) allows Java code to interact with native applications and libraries written in Rust, C, C++ and assembly

Improper use of the Java Native Interface renders the application vulnerable to security flaws present in other programming languages, like memory corruption.

Recommendation

Native code must adhere to Secure Coding best practices to protect against vulnerabilities in unmanaged code like memory corruption.

Technical details

File lib/armeabi-v7a/libfb.so:

MethodSignatureAddress
dispose()V0x14a08

File lib/armeabi-v7a/libimagepipeline.so:

MethodSignatureAddress
nativeTranscodeJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;III)V0x3e00c
nativeTranscodeJpegWithExifOrientation(Ljava/io/InputStream;Ljava/io/OutputStream;III)V0x3e018
nativePinBitmap(Landroid/graphics/Bitmap;)V0x3e028
nativeReleaseByteBuffer(Landroid/graphics/Bitmap;)V0x3e04c
nativeToCircleFilter(Landroid/graphics/Bitmap;)V0x3e064
nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V0x3e034
nativeGetByteBuffer(Landroid/graphics/Bitmap;JJ)Ljava/nio/ByteBuffer;0x3e040
nativeIterativeBoxBlur(Landroid/graphics/Bitmap;II)V0x3e058
nativeAllocate(I)J0x3e070
nativeFree(J)V0x3e07c
nativeCopyToByteArray(J[BII)V0x3e088
nativeCopyFromByteArray(J[BII)V0x3e094
nativeMemcpy(JJI)V0x3e0a0
nativeReadByte(J)B0x3e0ac

File lib/x86/libfb.so:

MethodSignatureAddress
dispose()V0x21b28

File lib/x86/libimagepipeline.so:

MethodSignatureAddress
nativeTranscodeJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;III)V0x7300c
nativeTranscodeJpegWithExifOrientation(Ljava/io/InputStream;Ljava/io/OutputStream;III)V0x73018
nativePinBitmap(Landroid/graphics/Bitmap;)V0x73024
nativeReleaseByteBuffer(Landroid/graphics/Bitmap;)V0x73048
nativeToCircleFilter(Landroid/graphics/Bitmap;)V0x73060
nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V0x73030
nativeGetByteBuffer(Landroid/graphics/Bitmap;JJ)Ljava/nio/ByteBuffer;0x7303c
nativeIterativeBoxBlur(Landroid/graphics/Bitmap;II)V0x73054
nativeAllocate(I)J0x7306c
nativeFree(J)V0x73078
nativeCopyToByteArray(J[BII)V0x73084
nativeCopyFromByteArray(J[BII)V0x73090
nativeMemcpy(JJI)V0x7309c
nativeReadByte(J)B0x730a8