CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
resolve_injectable_functions.json102 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "resolveAlias",4    "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)",5    "test_filename": "tests_resolve_resolveAlias.c"6  },7  {8    "function_name": "sqlite3MatchEName",9    "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)",10    "test_filename": "tests_resolve_sqlite3MatchEName.c"11  },12  {13    "function_name": "areDoubleQuotedStringsEnabled",14    "function_signature": "static int areDoubleQuotedStringsEnabled(sqlite3 *db, NameContext *pTopNC)",15    "test_filename": "tests_resolve_areDoubleQuotedStringsEnabled.c"16  },17  {18    "function_name": "sqlite3ExprColUsed",19    "function_signature": "Bitmask sqlite3ExprColUsed(Expr *pExpr)",20    "test_filename": "tests_resolve_sqlite3ExprColUsed.c"21  },22  {23    "function_name": "extendFJMatch",24    "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)",25    "test_filename": "tests_resolve_extendFJMatch.c"26  },27  {28    "function_name": "isValidSchemaTableName",29    "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)",30    "test_filename": "tests_resolve_isValidSchemaTableName.c"31  },32  {33    "function_name": "lookupName",34    "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)",35    "test_filename": "tests_resolve_lookupName.c"36  },37  {38    "function_name": "notValidImpl",39    "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)",40    "test_filename": "tests_resolve_notValidImpl.c"41  },42  {43    "function_name": "resolveExprStep",44    "function_signature": "static int resolveExprStep(Walker *pWalker, Expr *pExpr)",45    "test_filename": "tests_resolve_resolveExprStep.c"46  },47  {48    "function_name": "resolveAsName",49    "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)",50    "test_filename": "tests_resolve_resolveAsName.c"51  },52  {53    "function_name": "resolveOrderByTermToExprList",54    "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)",55    "test_filename": "tests_resolve_resolveOrderByTermToExprList.c"56  },57  {58    "function_name": "resolveOutOfRangeError",59    "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)",60    "test_filename": "tests_resolve_resolveOutOfRangeError.c"61  },62  {63    "function_name": "resolveCompoundOrderBy",64    "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)",65    "test_filename": "tests_resolve_resolveCompoundOrderBy.c"66  },67  {68    "function_name": "sqlite3ResolveOrderGroupBy",69    "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)",70    "test_filename": "tests_resolve_sqlite3ResolveOrderGroupBy.c"71  },72  {73    "function_name": "resolveOrderGroupBy",74    "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)",75    "test_filename": "tests_resolve_resolveOrderGroupBy.c"76  },77  {78    "function_name": "resolveSelectStep",79    "function_signature": "static int resolveSelectStep(Walker *pWalker, Select *p)",80    "test_filename": "tests_resolve_resolveSelectStep.c"81  },82  {83    "function_name": "sqlite3ResolveExprNames",84    "function_signature": "int sqlite3ResolveExprNames(\n  NameContext *pNC,       /* Namespace to resolve expressions in. */\n  Expr *pExpr             /* The expression to be analyzed. */\n)",85    "test_filename": "tests_resolve_sqlite3ResolveExprNames.c"86  },87  {88    "function_name": "sqlite3ResolveExprListNames",89    "function_signature": "int sqlite3ResolveExprListNames(\n  NameContext *pNC,       /* Namespace to resolve expressions in. */\n  ExprList *pList         /* The expression list to be analyzed. */\n)",90    "test_filename": "tests_resolve_sqlite3ResolveExprListNames.c"91  },92  {93    "function_name": "sqlite3ResolveSelectNames",94    "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)",95    "test_filename": "tests_resolve_sqlite3ResolveSelectNames.c"96  },97  {98    "function_name": "sqlite3ResolveSelfReference",99    "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)",100    "test_filename": "tests_resolve_sqlite3ResolveSelfReference.c"101  }102]