Info Call to native methods

Description

List of all calls to methods using Java Native Interface to interact with native code (written in C/C++).

Recommendation

Data passed to NewStringUTF must be in Modified UTF-8 format

UTF-16 strings are not zero-terminated

Object references should never be compared using == or != in native code. When testing for object equality, the IsSameObject() function should be used instead of ==.

Technical details
  • Method com.baidu.android.pushservice.jni.BaiduAppSSOJni->decryptAES(([B I I)[B)
  • Method com.baidu.android.pushservice.jni.BaiduAppSSOJni->decryptR(([B I)[B)
  • Method com.baidu.android.pushservice.jni.BaiduAppSSOJni->encryptAES((Ljava/lang/String; I)[B)
  • Method com.baidu.android.pushservice.jni.BaiduAppSSOJni->encryptR(([B I)[B)
  • Method com.baidu.android.pushservice.jni.BaiduAppSSOJni->getKey((Ljava/lang/String;)[B)
  • Method com.baidu.android.pushservice.jni.BaiduAppSSOJni->verify(([B Ljava/lang/String; I)Z)
  • Method com.baidu.android.pushservice.jni.PushSocket->closeSocket((I)I)
  • Method com.baidu.android.pushservice.jni.PushSocket->createSocket((Ljava/lang/String; I)I)
  • Method com.baidu.android.pushservice.jni.PushSocket->getLastSocketError(()I)
  • Method com.baidu.android.pushservice.jni.PushSocket->rcvMsg((I)[B)
  • Method com.baidu.android.pushservice.jni.PushSocket->sendMsg((I [B I)I)
  • Method com.sophos.jbase.PKCS5->pbkdf2Fast(([B I [B I I [B I Z)I)
  • Method com.sophos.keepasseditor.utils.AesKdf->nTransformKey(([B [B I)[B)
  • Method com.sophos.nge.ste.invincea.EntropyFeatureCalculator->computeByteEntropyFeatures(([B)[D)
  • Method com.sophos.savi.JNIBase->checkJNILibVersion(()Z)
  • Method com.sophos.simplesxl31.Sxl31Scanner->pullDataSxlRequest((Ljava/lang/String;)Ljava/lang/String;)
  • Method com.sophos.simplesxl31.Sxl31Scanner->pushData((Ljava/lang/String;)S)
  • Method com.sophos.simplesxl31.Sxl31Scanner->pushDataSxlResponse((Ljava/lang/String;)S)
  • Method com.sophos.simplesxl31.Sxl31Scanner->setLogLevel((I)S)
  • Method com.sophos.savi.Cloud4->initIDs(()V)
  • Method com.sophos.savi.Cloud4->initialize((Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V)
  • Method com.sophos.savi.Cloud4->close(()V)
  • Method com.sophos.savi.Cloud4->setSXL4Url((Ljava/lang/String;)V)
  • Method com.sophos.savi.Cloud->initIDs(()V)
  • Method com.sophos.savi.Cloud->initialize((Ljava/lang/String; Ljava/lang/String;)V)
  • Method com.sophos.savi.Cloud->close(()V)
  • Method com.sophos.savi.DataToken->close(()V)
  • Method com.sophos.savi.MLEngine->close(()V)
  • Method com.sophos.savi.MLFactory->initIDs(()V)
  • Method com.sophos.savi.MLFactory->initialize((Ljava/lang/String; Ljava/lang/String;)V)
  • Method com.sophos.savi.MLFactory->close(()V)
  • Method com.sophos.savi.MLFactory->createMLEngine(()Lcom/sophos/savi/MLEngine;)
  • Method com.sophos.savi.MLFactory->getDataVersion(()J)
  • Method com.sophos.savi.DataLoader->initIDs(()V)
  • Method com.sophos.savi.DataLoader->initialize((Ljava/lang/String;)V)
  • Method com.sophos.savi.DataLoader->checkVirusDataIntegrity((Z)Lcom/sophos/savi/VdbIntegrityReport;)
  • Method com.sophos.savi.DataLoader->close(()V)
  • Method com.sophos.savi.DataLoader->getConfigValue((Ljava/lang/String; I)Ljava/lang/String;)
  • Method com.sophos.savi.DataLoader->getVDBManifestVersion(()Ljava/lang/String;)
  • Method com.sophos.savi.DataLoader->getVersionInfo(()Lcom/sophos/savi/DataVersionInfo;)
  • Method com.sophos.savi.DataLoader->getVirusDataToken(()Lcom/sophos/savi/DataToken;)
  • Method com.sophos.savi.DataLoader->load((Z Z)Lcom/sophos/savi/DataToken;)
  • Method com.sophos.savi.DataLoader->setConfigDefaults(()V)
  • Method com.sophos.savi.DataLoader->setConfigValue((Ljava/lang/String; I Ljava/lang/String;)V)
  • Method com.sophos.savi.Scanner->initIDs(()V)
  • Method com.sophos.savi.Scanner->initialize((Landroid/content/Context; Ljava/lang/String;)V)
  • Method com.sophos.savi.Scanner->close(()V)
  • Method com.sophos.savi.Scanner->getConfigValue((Ljava/lang/String; I)Ljava/lang/String;)
  • Method com.sophos.savi.Scanner->getVersionInfo(()Lcom/sophos/savi/EngineVersionInfo;)
  • Method com.sophos.savi.Scanner->setConfigDefaults(()V)
  • Method com.sophos.savi.Scanner->setConfigValue((Ljava/lang/String; I Ljava/lang/String;)V)
  • Method com.sophos.savi.Scanner->setMLEngine((Lcom/sophos/savi/MLEngine;)V)
  • Method com.sophos.savi.Scanner->setRefCloud((Lcom/sophos/savi/Cloud;)V)
  • Method com.sophos.savi.Scanner->setRefCloud4((Lcom/sophos/savi/Cloud4;)V)
  • Method com.sophos.savi.Scanner->setVirusDataToken((Lcom/sophos/savi/DataToken;)V)
  • Method com.sophos.savi.Scanner->sweepFile((Ljava/lang/String;)Ljava/util/ArrayList;)
  • Method com.sophos.savi.Scanner->sweepFileX((Ljava/lang/String;)Ljava/util/ArrayList;)
  • Method org.tensorflow.Graph->allocate(()J)
  • Method org.tensorflow.Graph->delete((J)V)
  • Method org.tensorflow.Graph->importGraphDef((J [B Ljava/lang/String;)V)
  • Method org.tensorflow.Graph->operation((J Ljava/lang/String;)J)
  • Method org.tensorflow.Operation->dtype((J J I)I)
  • Method org.tensorflow.Operation->name((J)Ljava/lang/String;)
  • Method org.tensorflow.Operation->shape((J J I)[J)
  • Method org.tensorflow.Operation->type((J)Ljava/lang/String;)
  • Method org.tensorflow.Session->allocate((J)J)
  • Method org.tensorflow.Session->allocate2((J Ljava/lang/String; [B)J)
  • Method org.tensorflow.Session->delete((J)V)
  • Method org.tensorflow.Session->run((J [B [J [J [I [J [I [J Z [J)[B)
  • Method org.tensorflow.Tensor->allocate((I [J J)J)
  • Method org.tensorflow.Tensor->allocateNonScalarBytes(([J [Ljava/lang/Object;)J)
  • Method org.tensorflow.Tensor->allocateScalarBytes(([B)J)
  • Method org.tensorflow.Tensor->buffer((J)Ljava/nio/ByteBuffer;)
  • Method org.tensorflow.Tensor->delete((J)V)
  • Method org.tensorflow.Tensor->dtype((J)I)
  • Method org.tensorflow.Tensor->setValue((J Ljava/lang/Object;)V)
  • Method org.tensorflow.Tensor->shape((J)[J)
  • Method org.tensorflow.TensorFlow->version(()Ljava/lang/String;)
  • Method org.tensorflow.contrib.android.RunStats->add((J [B)V)
  • Method org.tensorflow.contrib.android.RunStats->allocate(()J)
  • Method org.tensorflow.contrib.android.RunStats->delete((J)V)
  • Method org.tensorflow.contrib.android.RunStats->summary((J)Ljava/lang/String;)