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/libaviary_native2.so:

MethodSignatureAddress
nativeMoaliteVersion()Ljava/lang/String;0x1f9040
test(Ljava/lang/String;)Landroid/graphics/Bitmap;0x1f9028
nativeInit(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)I0x1f9034
notifyPixelsChanged(Landroid/graphics/Bitmap;)V0x1f904c
executeEnhance(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;I)Z0x1f9058
executeJsonEffect(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;Ljava/lang/String;Ljava/lang/String;D)Z0x1f9064
executeJsonEffect(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;Ljava/lang/String;D)Z0x1f9070
executeLighting(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;DDDD)Z0x1f907c
executeColor(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;DDDD)Z0x1f9088
executeCrop(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;DDDD)Z0x1f90b8
executeAdjust(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;DDDDDDDDDD)Z0x1f9094
executeSharpness(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;D)Z0x1f90a0
executeFrame(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;Ljava/lang/String;Ljava/lang/String;DZ)Z0x1f90ac
executeOrientation(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;ZZDD)Z0x1f90c4
executeText(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;Ljava/lang/String;Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaActionlistTextAttributes;DDDD)Z0x1f90d0
executeActionList(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;[Ljava/lang/String;)Z0x1f90dc
getActionListForSticker(Ljava/lang/String;Ljava/lang/String;DDDDDDZ)Ljava/lang/String;0x1f90e8
getActionListForCustomSticker(Ljava/lang/String;Ljava/lang/String;DDDDDDZ)Ljava/lang/String;0x1f90f4
getActionListForOverlay(Ljava/lang/String;Ljava/lang/String;DDD)Ljava/lang/String;0x1f9100
getActionListForEffect(Ljava/lang/String;Ljava/lang/String;D)Ljava/lang/String;0x1f910c
getActionListForOrientation(ZZDD)Ljava/lang/String;0x1f9118
getActionListForText(Ljava/lang/String;Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaActionlistTextAttributes;DDDD)Ljava/lang/String;0x1f9124
getActionListForMeme(Ljava/lang/String;Ljava/lang/String;Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaActionlistTextAttributes;)Ljava/lang/String;0x1f9130
executeRecipe(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaStreamsIO;)Z0x1f913c
nativeCtor(Landroid/graphics/Bitmap;)J0x1f9148
nativeDispose(J)Z0x1f9154
nativeDispose(J)Z0x1f9190
nativeDispose(J)Z0x1f91cc
nativeRenderPreview(J)Z0x1f91d8
nativeClose(J)Z0x1f9208
nativeDispose(J)Z0x1f922c
nativeDispose(J)Z0x1f9268
nativeCanUndo(J)Z0x1f92a4
nativeCanRedo(J)Z0x1f92b0
nativeIsValid(J)Z0x1f937c
nativeIsLoaded(J)Z0x1f9388
nativeGetOriginalEnabled(J)Z0x1f9400
nativeDispose(J)Z0x1f9454
nativeRenderPreview(J)Z0x1f9460
nativeClose(J)Z0x1f9490
isEGLContextLost(J)Z0x1f94d8
nativeRenderPreview(JDDDDIIDDI)Z0x1f9160
nativeGetActionlist(J)Ljava/lang/String;0x1f916c
nativeGetActionlist(J)Ljava/lang/String;0x1f91a8
nativeGetActionlist(J)Ljava/lang/String;0x1f91e4
nativeGetActionlist(J)Ljava/lang/String;0x1f9238
nativeGetActionlist(J)Ljava/lang/String;0x1f946c
nativeCtor()J0x1f9178
nativeCtor()J0x1f9214
nativeCtor()J0x1f9250
nativeCtor()J0x1f9280
nativeCtor()J0x1f934c
nativeCtor()J0x1f943c
createEGLContext()J0x1f94c0
nativeInit(JLandroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Z0x1f9184
nativeInit(JLandroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Z0x1f91c0
nativeInit(JLandroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Z0x1f9448
nativeRenderPreview(JIDDDD)Z0x1f919c
nativeCtor(I)J0x1f91b4
nativeBegin(JID)Z0x1f91f0
nativeAddPoint(JDD)Z0x1f91fc
nativeInit(JLandroid/graphics/Bitmap;)Z0x1f9220
fillBitmapWithLastCommit(JLandroid/graphics/Bitmap;)Z0x1f9574
fillBitmapWithLastRender(JLandroid/graphics/Bitmap;)Z0x1f9580
nativeAddPointAndRenderPreview(JDDD)Z0x1f9244
nativeAddPoint(JDDD)Z0x1f9484
nativeInit(JIILcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaActionlistTextAttributes;)Z0x1f925c
nativeDrawText(JILjava/lang/String;Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;I)V0x1f9274
nativePush(JLandroid/graphics/Bitmap;)J0x1f928c
nativeUndo(JLandroid/graphics/Bitmap;)J0x1f92d4
nativeRedo(JLandroid/graphics/Bitmap;)J0x1f92e0
nativeSize(J)I0x1f9298
nativeGetPosition(J)I0x1f9310
nativeUnload(J)I0x1f9394
nativeWidth(J)I0x1f93dc
nativeHeight(J)I0x1f93e8
nativeRevert(J)I0x1f9418
nativeBytesCount(J)J0x1f92bc
allocGLData(J)J0x1f94e4
nativeClear(J)V0x1f92c8
nativeDispose(J)V0x1f92ec
nativeDispose(J)V0x1f93a0
destroyEGLContext(J)V0x1f94cc
freeGLMoaBitmap(J)V0x1f9508
resetImage(J)V0x1f955c
commitEdits(J)V0x1f9568
nativeGetUndoBitmapSize(J)[I0x1f92f8
nativeGetRedoBitmapSize(J)[I0x1f9304
nativeGetMaximumMp()I0x1f931c
nativeGetSmallMp()I0x1f9328
nativeGetMediumMp()I0x1f9334
nativeGetLargeMp()I0x1f9340
nativeLoad(JLjava/lang/String;)I0x1f9358
nativeSave(JLjava/lang/String;)I0x1f93c4
nativeLoad(JI)I0x1f9364
nativeLoad(JLjava/io/FileDescriptor;)I0x1f9370
nativeApplyActions(JLandroid/content/Context;Ljava/lang/String;)V0x1f93ac
nativeApplyRecipe(JLandroid/content/Context;Ljava/lang/String;)V0x1f93b8
nativeSaveWithQualityAndConfig(JLjava/lang/String;II)I0x1f93d0
nativeSetMaxMegaPixels(JI)V0x1f93f4
nativeResizeToMaxMegapixels(JI)V0x1f9424
nativeSetOriginalEnabled(JZ)V0x1f940c
nativeGetCurrentJavaBitmap(J)Landroid/graphics/Bitmap;0x1f9430
nativeBegin(JIIDD)Z0x1f9478
createFromPostScriptName(Ljava/lang/String;)Lcom/adobe/creativesdk/aviary/internal/headless/moa/MoaFontProxy$MoaFont;0x1f949c
createFromFamilyName(Ljava/lang/String;Ljava/lang/String;)Lcom/adobe/creativesdk/aviary/internal/headless/moa/MoaFontProxy$MoaFont;0x1f94a8
createDefault()Lcom/adobe/creativesdk/aviary/internal/headless/moa/MoaFontProxy$MoaFont;0x1f94b4
freeGLData(JJ)V0x1f94f0
makeSurfaceCurrent(JJ)V0x1f9520
destroySurface(JJ)V0x1f952c
showLastRender(JJ)V0x1f9550
createGLMoaBitmap(JII)J0x1f94fc
createEGLSurfaceFromAndroidSurfaceAndMakeCurrent(JLandroid/view/Surface;)J0x1f9514
setImage(JJLandroid/graphics/Bitmap;IIZ)V0x1f9538
setRenderBufferSize(JJII)V0x1f9544
executeEnhance(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;JI)Z0x1f958c
executeAdjust(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;JDDDDDDDDDD)Z0x1f9598
executePerspective(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;JDDDZ[I)Z0x1f95a4
executeJsonEffect(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;JLjava/lang/String;Ljava/lang/String;D)Z0x1f95b0
executeJsonEffect(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;JLjava/lang/String;D)Z0x1f95bc
executeSharpness(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaJniIO;JD)Z0x1f95c8
getOutputSizeAfterInput(Ljava/lang/String;II)[I0x1f95d4
generateMemeBitmapFiles(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaStreamsPublishIO;II)[Z0x1f95e0
generateTextBitmapFile(Lcom/adobe/creativesdk/aviary/internal/headless/moa/Moa$MoaStreamsPublishIO;II)Z0x1f95ec
convertActionList(Ljava/lang/String;)Z0x1f95f8