CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
prepare_injectable_functions.json92 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "corruptSchema",4    "function_signature": "static void corruptSchema(\n  InitData *pData,     /* Initialization context */\n  char **azObj,        /* Type and name of object being parsed */\n  const char *zExtra   /* Error information */\n)",5    "test_filename": "tests_prepare_corruptSchema.c"6  },7  {8    "function_name": "sqlite3InitCallback",9    "function_signature": "int sqlite3InitCallback(void *pInit, int argc, char **argv, char **NotUsed)",10    "test_filename": "tests_prepare_sqlite3InitCallback.c"11  },12  {13    "function_name": "sqlite3InitOne",14    "function_signature": "int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg, u32 mFlags)",15    "test_filename": "tests_prepare_sqlite3InitOne.c"16  },17  {18    "function_name": "sqlite3Init",19    "function_signature": "int sqlite3Init(sqlite3 *db, char **pzErrMsg)",20    "test_filename": "tests_prepare_sqlite3Init.c"21  },22  {23    "function_name": "sqlite3ReadSchema",24    "function_signature": "int sqlite3ReadSchema(Parse *pParse)",25    "test_filename": "tests_prepare_sqlite3ReadSchema.c"26  },27  {28    "function_name": "schemaIsValid",29    "function_signature": "static void schemaIsValid(Parse *pParse)",30    "test_filename": "tests_prepare_schemaIsValid.c"31  },32  {33    "function_name": "sqlite3SchemaToIndex",34    "function_signature": "int sqlite3SchemaToIndex(sqlite3 *db, Schema *pSchema)",35    "test_filename": "tests_prepare_sqlite3SchemaToIndex.c"36  },37  {38    "function_name": "sqlite3ParseObjectReset",39    "function_signature": "void sqlite3ParseObjectReset(Parse *pParse)",40    "test_filename": "tests_prepare_sqlite3ParseObjectReset.c"41  },42  {43    "function_name": "sqlite3Prepare",44    "function_signature": "static int sqlite3Prepare(\n  sqlite3 *db,              /* Database handle. */\n  const char *zSql,         /* UTF-8 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  u32 prepFlags,            /* Zero or more SQLITE_PREPARE_* flags */\n  Vdbe *pReprepare,         /* VM being reprepared */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const char **pzTail       /* OUT: End of parsed string */\n)",45    "test_filename": "tests_prepare_sqlite3Prepare.c"46  },47  {48    "function_name": "sqlite3LockAndPrepare",49    "function_signature": "static int sqlite3LockAndPrepare(\n  sqlite3 *db,              /* Database handle. */\n  const char *zSql,         /* UTF-8 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  u32 prepFlags,            /* Zero or more SQLITE_PREPARE_* flags */\n  Vdbe *pOld,               /* VM being reprepared */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const char **pzTail       /* OUT: End of parsed string */\n)",50    "test_filename": "tests_prepare_sqlite3LockAndPrepare.c"51  },52  {53    "function_name": "sqlite3Reprepare",54    "function_signature": "int sqlite3Reprepare(Vdbe *p)",55    "test_filename": "tests_prepare_sqlite3Reprepare.c"56  },57  {58    "function_name": "sqlite3_prepare",59    "function_signature": "int sqlite3_prepare(\n  sqlite3 *db,              /* Database handle. */\n  const char *zSql,         /* UTF-8 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const char **pzTail       /* OUT: End of parsed string */\n)",60    "test_filename": "tests_prepare_sqlite3_prepare.c"61  },62  {63    "function_name": "sqlite3_prepare_v2",64    "function_signature": "int sqlite3_prepare_v2(\n  sqlite3 *db,              /* Database handle. */\n  const char *zSql,         /* UTF-8 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const char **pzTail       /* OUT: End of parsed string */\n)",65    "test_filename": "tests_prepare_sqlite3_prepare_v2.c"66  },67  {68    "function_name": "sqlite3_prepare_v3",69    "function_signature": "int sqlite3_prepare_v3(\n  sqlite3 *db,              /* Database handle. */\n  const char *zSql,         /* UTF-8 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  unsigned int prepFlags,   /* Zero or more SQLITE_PREPARE_* flags */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const char **pzTail       /* OUT: End of parsed string */\n)",70    "test_filename": "tests_prepare_sqlite3_prepare_v3.c"71  },72  {73    "function_name": "sqlite3Prepare16",74    "function_signature": "static int sqlite3Prepare16(\n  sqlite3 *db,              /* Database handle. */ \n  const void *zSql,         /* UTF-16 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  u32 prepFlags,            /* Zero or more SQLITE_PREPARE_* flags */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const void **pzTail       /* OUT: End of parsed string */\n)",75    "test_filename": "tests_prepare_sqlite3Prepare16.c"76  },77  {78    "function_name": "sqlite3_prepare16",79    "function_signature": "int sqlite3_prepare16(\n  sqlite3 *db,              /* Database handle. */ \n  const void *zSql,         /* UTF-16 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const void **pzTail       /* OUT: End of parsed string */\n)",80    "test_filename": "tests_prepare_sqlite3_prepare16.c"81  },82  {83    "function_name": "sqlite3_prepare16_v2",84    "function_signature": "int sqlite3_prepare16_v2(\n  sqlite3 *db,              /* Database handle. */ \n  const void *zSql,         /* UTF-16 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const void **pzTail       /* OUT: End of parsed string */\n)",85    "test_filename": "tests_prepare_sqlite3_prepare16_v2.c"86  },87  {88    "function_name": "sqlite3_prepare16_v3",89    "function_signature": "int sqlite3_prepare16_v3(\n  sqlite3 *db,              /* Database handle. */ \n  const void *zSql,         /* UTF-16 encoded SQL statement. */\n  int nBytes,               /* Length of zSql in bytes. */\n  unsigned int prepFlags,   /* Zero or more SQLITE_PREPARE_* flags */\n  sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared statement */\n  const void **pzTail       /* OUT: End of parsed string */\n)",90    "test_filename": "tests_prepare_sqlite3_prepare16_v3.c"91  }92]