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/arm64-v8a/libflutter.so:

MethodSignatureAddress
>(JLandroid/view/Surface;)V0x18bf20
7(distanceToInnerEdge);0x1943e0

File lib/armeabi-v7a/libflutter.so:

MethodSignatureAddress
nativeGetIsSoftwareRenderingEnabled()Z0x5a66bc
nativeSetSemanticsEnabled(JZ)V0x5a66a4
nativeOnVsync(JJJ)V0x5a6750
nativeMarkTextureFrameAvailable(JJ)V0x5a66d4
nativeUnregisterTexture(JJ)V0x5a66e0
nativeRecordStartTimestamp(J)V0x5a6488
nativeDestroy(J)V0x5a6608
nativeSurfaceDestroyed(J)V0x5a6674
nativeInvokePlatformMessageEmptyResponseCallback(JI)V0x5a6644
nativeSetAccessibilityFeatures(JI)V0x5a66b0
nativeSurfaceChanged(JII)V0x5a6668
nativeSetViewportMetrics(JFIIIIIIIIII)V0x5a6680
nativeDispatchPlatformMessage(JLjava/lang/String;Ljava/nio/ByteBuffer;II)V0x5a662c
nativeDispatchPointerDataPacket(JLjava/nio/ByteBuffer;I)V0x5a668c
nativeInvokePlatformMessageResponseCallback(JILjava/nio/ByteBuffer;I)V0x5a6638
nativeDispatchSemanticsAction(JIILjava/nio/ByteBuffer;I)V0x5a6698
nativeDispatchEmptyPlatformMessage(JLjava/lang/String;I)V0x5a6620
nativeRunBundleAndSnapshotFromLibrary(J[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/res/AssetManager;)V0x5a6614
nativeInit(Landroid/content/Context;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V0x5a647c
nativeRegisterTexture(JJLandroid/graphics/SurfaceTexture;)V0x5a66c8
nativeSurfaceCreated(JLandroid/view/Surface;)V0x5a665c
nativeAttach(Lio/flutter/embedding/engine/FlutterJNI;Z)J0x5a65fc
nativeGetBitmap(J)Landroid/graphics/Bitmap;0x5a6650
nativeLookupCallbackInformation(J)Lio/flutter/view/FlutterCallbackInformation;0x5a66ec