sqlite / injectable_functions /attach_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
7510827 verified
[
{
"function_name": "resolveAttachExpr",
"function_signature": "static int resolveAttachExpr(NameContext *pName, Expr *pExpr)",
"test_filename": "tests_attach_resolveAttachExpr.c"
},
{
"function_name": "attachFunc",
"function_signature": "static void attachFunc(\n sqlite3_context *context,\n int NotUsed,\n sqlite3_value **argv\n)",
"test_filename": "tests_attach_attachFunc.c"
},
{
"function_name": "detachFunc",
"function_signature": "static void detachFunc(\n sqlite3_context *context,\n int NotUsed,\n sqlite3_value **argv\n)",
"test_filename": "tests_attach_detachFunc.c"
},
{
"function_name": "codeAttach",
"function_signature": "static void codeAttach(\n Parse *pParse, /* The parser context */\n int type, /* Either SQLITE_ATTACH or SQLITE_DETACH */\n FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */\n Expr *pAuthArg, /* Expression to pass to authorization callback */\n Expr *pFilename, /* Name of database file */\n Expr *pDbname, /* Name of the database to use internally */\n Expr *pKey /* Database key for encryption extension */\n)",
"test_filename": "tests_attach_codeAttach.c"
},
{
"function_name": "sqlite3Detach",
"function_signature": "void sqlite3Detach(Parse *pParse, Expr *pDbname)",
"test_filename": "tests_attach_sqlite3Detach.c"
},
{
"function_name": "sqlite3Attach",
"function_signature": "void sqlite3Attach(Parse *pParse, Expr *p, Expr *pDbname, Expr *pKey)",
"test_filename": "tests_attach_sqlite3Attach.c"
},
{
"function_name": "fixExprCb",
"function_signature": "static int fixExprCb(Walker *p, Expr *pExpr)",
"test_filename": "tests_attach_fixExprCb.c"
},
{
"function_name": "fixSelectCb",
"function_signature": "static int fixSelectCb(Walker *p, Select *pSelect)",
"test_filename": "tests_attach_fixSelectCb.c"
},
{
"function_name": "sqlite3FixInit",
"function_signature": "void sqlite3FixInit(\n DbFixer *pFix, /* The fixer to be initialized */\n Parse *pParse, /* Error messages will be written here */\n int iDb, /* This is the database that must be used */\n const char *zType, /* \"view\", \"trigger\", or \"index\" */\n const Token *pName /* Name of the view, trigger, or index */\n)",
"test_filename": "tests_attach_sqlite3FixInit.c"
},
{
"function_name": "sqlite3FixSrcList",
"function_signature": "int sqlite3FixSrcList(\n DbFixer *pFix, /* Context of the fixation */\n SrcList *pList /* The Source list to check and modify */\n)",
"test_filename": "tests_attach_sqlite3FixSrcList.c"
},
{
"function_name": "sqlite3FixTriggerStep",
"function_signature": "int sqlite3FixTriggerStep(\n DbFixer *pFix, /* Context of the fixation */\n TriggerStep *pStep /* The trigger step be fixed to one database */\n)",
"test_filename": "tests_attach_sqlite3FixTriggerStep.c"
}
]