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
)(JJ)V0x18a8e8
*}@(distanceToOuterEdge);0x18e840

File lib/armeabi-v7a/libflutter.so:

MethodSignatureAddress
nativeGetIsSoftwareRenderingEnabled()Z0x59d680
nativeSetSemanticsEnabled(JZ)V0x59d668
nativeOnVsync(JJJ)V0x59d714
nativeMarkTextureFrameAvailable(JJ)V0x59d698
nativeUnregisterTexture(JJ)V0x59d6a4
nativeRecordStartTimestamp(J)V0x59d440
nativeDestroy(J)V0x59d5c0
nativeSurfaceDestroyed(J)V0x59d638
nativeInvokePlatformMessageEmptyResponseCallback(JI)V0x59d608
nativeSetAccessibilityFeatures(JI)V0x59d674
nativeSurfaceChanged(JII)V0x59d62c
nativeSetViewportMetrics(JFIIIIIIIIII)V0x59d644
nativeDispatchPlatformMessage(JLjava/lang/String;Ljava/nio/ByteBuffer;II)V0x59d5f0
nativeDispatchPointerDataPacket(JLjava/nio/ByteBuffer;I)V0x59d650
nativeInvokePlatformMessageResponseCallback(JILjava/nio/ByteBuffer;I)V0x59d5fc
nativeDispatchSemanticsAction(JIILjava/nio/ByteBuffer;I)V0x59d65c
nativeDispatchEmptyPlatformMessage(JLjava/lang/String;I)V0x59d5e4
nativeRunBundleAndSnapshotFromLibrary(J[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/res/AssetManager;)V0x59d5cc
nativeInit(Landroid/content/Context;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V0x59d434
nativeRegisterTexture(JJLandroid/graphics/SurfaceTexture;)V0x59d68c
nativeSurfaceCreated(JLandroid/view/Surface;)V0x59d620
nativeAttach(Lio/flutter/embedding/engine/FlutterJNI;Z)J0x59d5b4
nativeGetBitmap(J)Landroid/graphics/Bitmap;0x59d614
nativeLookupCallbackInformation(J)Lio/flutter/view/FlutterCallbackInformation;0x59d6cc
nativeGetObservatoryUri()Ljava/lang/String;0x59d5d8
1F(x)i0x3bf0d8