sqlite / injectable_functions /resolve_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
7510827 verified
[
{
"function_name": "resolveAlias",
"function_signature": "static void resolveAlias(\n Parse *pParse, /* Parsing context */\n ExprList *pEList, /* A result set */\n int iCol, /* A column in the result set. 0..pEList->nExpr-1 */\n Expr *pExpr, /* Transform this into an alias to the result set */\n int nSubquery /* Number of subqueries that the label is moving */\n)",
"test_filename": "tests_resolve_resolveAlias.c"
},
{
"function_name": "sqlite3MatchEName",
"function_signature": "int sqlite3MatchEName(\n const struct ExprList_item *pItem,\n const char *zCol,\n const char *zTab,\n const char *zDb,\n int *pbRowid\n)",
"test_filename": "tests_resolve_sqlite3MatchEName.c"
},
{
"function_name": "areDoubleQuotedStringsEnabled",
"function_signature": "static int areDoubleQuotedStringsEnabled(sqlite3 *db, NameContext *pTopNC)",
"test_filename": "tests_resolve_areDoubleQuotedStringsEnabled.c"
},
{
"function_name": "sqlite3ExprColUsed",
"function_signature": "Bitmask sqlite3ExprColUsed(Expr *pExpr)",
"test_filename": "tests_resolve_sqlite3ExprColUsed.c"
},
{
"function_name": "extendFJMatch",
"function_signature": "static void extendFJMatch(\n Parse *pParse, /* Parsing context */\n ExprList **ppList, /* ExprList to extend */\n SrcItem *pMatch, /* Source table containing the column */\n i16 iColumn /* The column number */\n)",
"test_filename": "tests_resolve_extendFJMatch.c"
},
{
"function_name": "isValidSchemaTableName",
"function_signature": "static SQLITE_NOINLINE int isValidSchemaTableName(\n const char *zTab, /* Name as it appears in the SQL */\n Table *pTab, /* The schema table we are trying to match */\n const char *zDb /* non-NULL if a database qualifier is present */\n)",
"test_filename": "tests_resolve_isValidSchemaTableName.c"
},
{
"function_name": "lookupName",
"function_signature": "static int lookupName(\n Parse *pParse, /* The parsing context */\n const char *zDb, /* Name of the database containing table, or NULL */\n const char *zTab, /* Name of table containing column, or NULL */\n const Expr *pRight, /* Name of the column. */\n NameContext *pNC, /* The name context used to resolve the name */\n Expr *pExpr /* Make this EXPR node point to the selected column */\n)",
"test_filename": "tests_resolve_lookupName.c"
},
{
"function_name": "notValidImpl",
"function_signature": "static void notValidImpl(\n Parse *pParse, /* Leave error message here */\n NameContext *pNC, /* The name context */\n const char *zMsg, /* Type of error */\n Expr *pExpr, /* Invalidate this expression on error */\n Expr *pError /* Associate error with this expression */\n)",
"test_filename": "tests_resolve_notValidImpl.c"
},
{
"function_name": "resolveExprStep",
"function_signature": "static int resolveExprStep(Walker *pWalker, Expr *pExpr)",
"test_filename": "tests_resolve_resolveExprStep.c"
},
{
"function_name": "resolveAsName",
"function_signature": "static int resolveAsName(\n Parse *pParse, /* Parsing context for error messages */\n ExprList *pEList, /* List of expressions to scan */\n Expr *pE /* Expression we are trying to match */\n)",
"test_filename": "tests_resolve_resolveAsName.c"
},
{
"function_name": "resolveOrderByTermToExprList",
"function_signature": "static int resolveOrderByTermToExprList(\n Parse *pParse, /* Parsing context for error messages */\n Select *pSelect, /* The SELECT statement with the ORDER BY clause */\n Expr *pE /* The specific ORDER BY term */\n)",
"test_filename": "tests_resolve_resolveOrderByTermToExprList.c"
},
{
"function_name": "resolveOutOfRangeError",
"function_signature": "static void resolveOutOfRangeError(\n Parse *pParse, /* The error context into which to write the error */\n const char *zType, /* \"ORDER\" or \"GROUP\" */\n int i, /* The index (1-based) of the term out of range */\n int mx, /* Largest permissible value of i */\n Expr *pError /* Associate the error with the expression */\n)",
"test_filename": "tests_resolve_resolveOutOfRangeError.c"
},
{
"function_name": "resolveCompoundOrderBy",
"function_signature": "static int resolveCompoundOrderBy(\n Parse *pParse, /* Parsing context. Leave error messages here */\n Select *pSelect /* The SELECT statement containing the ORDER BY */\n)",
"test_filename": "tests_resolve_resolveCompoundOrderBy.c"
},
{
"function_name": "sqlite3ResolveOrderGroupBy",
"function_signature": "int sqlite3ResolveOrderGroupBy(\n Parse *pParse, /* Parsing context. Leave error messages here */\n Select *pSelect, /* The SELECT statement containing the clause */\n ExprList *pOrderBy, /* The ORDER BY or GROUP BY clause to be processed */\n const char *zType /* \"ORDER\" or \"GROUP\" */\n)",
"test_filename": "tests_resolve_sqlite3ResolveOrderGroupBy.c"
},
{
"function_name": "resolveOrderGroupBy",
"function_signature": "static int resolveOrderGroupBy(\n NameContext *pNC, /* The name context of the SELECT statement */\n Select *pSelect, /* The SELECT statement holding pOrderBy */\n ExprList *pOrderBy, /* An ORDER BY or GROUP BY clause to resolve */\n const char *zType /* Either \"ORDER\" or \"GROUP\", as appropriate */\n)",
"test_filename": "tests_resolve_resolveOrderGroupBy.c"
},
{
"function_name": "resolveSelectStep",
"function_signature": "static int resolveSelectStep(Walker *pWalker, Select *p)",
"test_filename": "tests_resolve_resolveSelectStep.c"
},
{
"function_name": "sqlite3ResolveExprNames",
"function_signature": "int sqlite3ResolveExprNames(\n NameContext *pNC, /* Namespace to resolve expressions in. */\n Expr *pExpr /* The expression to be analyzed. */\n)",
"test_filename": "tests_resolve_sqlite3ResolveExprNames.c"
},
{
"function_name": "sqlite3ResolveExprListNames",
"function_signature": "int sqlite3ResolveExprListNames(\n NameContext *pNC, /* Namespace to resolve expressions in. */\n ExprList *pList /* The expression list to be analyzed. */\n)",
"test_filename": "tests_resolve_sqlite3ResolveExprListNames.c"
},
{
"function_name": "sqlite3ResolveSelectNames",
"function_signature": "void sqlite3ResolveSelectNames(\n Parse *pParse, /* The parser context */\n Select *p, /* The SELECT statement being coded. */\n NameContext *pOuterNC /* Name context for parent SELECT statement */\n)",
"test_filename": "tests_resolve_sqlite3ResolveSelectNames.c"
},
{
"function_name": "sqlite3ResolveSelfReference",
"function_signature": "int sqlite3ResolveSelfReference(\n Parse *pParse, /* Parsing context */\n Table *pTab, /* The table being referenced, or NULL */\n int type, /* NC_IsCheck, NC_PartIdx, NC_IdxExpr, NC_GenCol, or 0 */\n Expr *pExpr, /* Expression to resolve. May be NULL. */\n ExprList *pList /* Expression list to resolve. May be NULL. */\n)",
"test_filename": "tests_resolve_sqlite3ResolveSelfReference.c"
}
]