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 io.liteglue.SQLiteNative->sqlc_api_db_open((I Ljava/lang/String; I)J)
  • Method io.liteglue.SQLiteNative->sqlc_api_version_check((I)I)
  • Method io.liteglue.SQLiteNative->sqlc_db_close((J)I)
  • Method io.liteglue.SQLiteNative->sqlc_db_errcode((J)I)
  • Method io.liteglue.SQLiteNative->sqlc_db_errmsg_native((J)Ljava/lang/String;)
  • Method io.liteglue.SQLiteNative->sqlc_db_key_native_string((J Ljava/lang/String;)I)
  • Method io.liteglue.SQLiteNative->sqlc_db_last_insert_rowid((J)J)
  • Method io.liteglue.SQLiteNative->sqlc_db_open((Ljava/lang/String; I)J)
  • Method io.liteglue.SQLiteNative->sqlc_db_prepare_st((J Ljava/lang/String;)J)
  • Method io.liteglue.SQLiteNative->sqlc_db_total_changes((J)I)
  • Method io.liteglue.SQLiteNative->sqlc_errstr_native((I)Ljava/lang/String;)
  • Method io.liteglue.SQLiteNative->sqlc_st_bind_double((J I D)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_bind_int((J I I)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_bind_long((J I J)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_bind_null((J I)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_bind_text_native((J I Ljava/lang/String;)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_count((J)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_double((J I)D)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_int((J I)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_long((J I)J)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_name((J I)Ljava/lang/String;)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_text_native((J I)Ljava/lang/String;)
  • Method io.liteglue.SQLiteNative->sqlc_st_column_type((J I)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_finish((J)I)
  • Method io.liteglue.SQLiteNative->sqlc_st_step((J)I)