sqlite / injectable_functions /prepare_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
7510827 verified
[
{
"function_name": "corruptSchema",
"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)",
"test_filename": "tests_prepare_corruptSchema.c"
},
{
"function_name": "sqlite3InitCallback",
"function_signature": "int sqlite3InitCallback(void *pInit, int argc, char **argv, char **NotUsed)",
"test_filename": "tests_prepare_sqlite3InitCallback.c"
},
{
"function_name": "sqlite3InitOne",
"function_signature": "int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg, u32 mFlags)",
"test_filename": "tests_prepare_sqlite3InitOne.c"
},
{
"function_name": "sqlite3Init",
"function_signature": "int sqlite3Init(sqlite3 *db, char **pzErrMsg)",
"test_filename": "tests_prepare_sqlite3Init.c"
},
{
"function_name": "sqlite3ReadSchema",
"function_signature": "int sqlite3ReadSchema(Parse *pParse)",
"test_filename": "tests_prepare_sqlite3ReadSchema.c"
},
{
"function_name": "schemaIsValid",
"function_signature": "static void schemaIsValid(Parse *pParse)",
"test_filename": "tests_prepare_schemaIsValid.c"
},
{
"function_name": "sqlite3SchemaToIndex",
"function_signature": "int sqlite3SchemaToIndex(sqlite3 *db, Schema *pSchema)",
"test_filename": "tests_prepare_sqlite3SchemaToIndex.c"
},
{
"function_name": "sqlite3ParseObjectReset",
"function_signature": "void sqlite3ParseObjectReset(Parse *pParse)",
"test_filename": "tests_prepare_sqlite3ParseObjectReset.c"
},
{
"function_name": "sqlite3Prepare",
"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)",
"test_filename": "tests_prepare_sqlite3Prepare.c"
},
{
"function_name": "sqlite3LockAndPrepare",
"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)",
"test_filename": "tests_prepare_sqlite3LockAndPrepare.c"
},
{
"function_name": "sqlite3Reprepare",
"function_signature": "int sqlite3Reprepare(Vdbe *p)",
"test_filename": "tests_prepare_sqlite3Reprepare.c"
},
{
"function_name": "sqlite3_prepare",
"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)",
"test_filename": "tests_prepare_sqlite3_prepare.c"
},
{
"function_name": "sqlite3_prepare_v2",
"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)",
"test_filename": "tests_prepare_sqlite3_prepare_v2.c"
},
{
"function_name": "sqlite3_prepare_v3",
"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)",
"test_filename": "tests_prepare_sqlite3_prepare_v3.c"
},
{
"function_name": "sqlite3Prepare16",
"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)",
"test_filename": "tests_prepare_sqlite3Prepare16.c"
},
{
"function_name": "sqlite3_prepare16",
"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)",
"test_filename": "tests_prepare_sqlite3_prepare16.c"
},
{
"function_name": "sqlite3_prepare16_v2",
"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)",
"test_filename": "tests_prepare_sqlite3_prepare16_v2.c"
},
{
"function_name": "sqlite3_prepare16_v3",
"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)",
"test_filename": "tests_prepare_sqlite3_prepare16_v3.c"
}
]