pcre2 / injectable_functions /pcre2_compile_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
864071c verified
[
{
"function_name": "show_parsed",
"function_signature": "static void show_parsed(compile_block *cb)",
"test_filename": "tests_pcre2_compile_show_parsed.c"
},
{
"function_name": "pcre2_code_free",
"function_signature": "PCRE2_CALL_CONVENTION pcre2_code_free(pcre2_code *code)",
"test_filename": "tests_pcre2_compile_pcre2_code_free.c"
},
{
"function_name": "read_number",
"function_signature": "static BOOL read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign,\n uint32_t max_value, uint32_t max_error, int *intptr, int *errorcodeptr)",
"test_filename": "tests_pcre2_compile_read_number.c"
},
{
"function_name": "read_repeat_counts",
"function_signature": "static BOOL read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp,\n uint32_t *maxp, int *errorcodeptr)",
"test_filename": "tests_pcre2_compile_read_repeat_counts.c"
},
{
"function_name": "get_ucp",
"function_signature": "static BOOL get_ucp(PCRE2_SPTR *ptrptr, BOOL utf, BOOL *negptr, uint16_t *ptypeptr,\n uint16_t *pdataptr, int *errorcodeptr, compile_block *cb)",
"test_filename": "tests_pcre2_compile_get_ucp.c"
},
{
"function_name": "check_posix_syntax",
"function_signature": "static BOOL check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr)",
"test_filename": "tests_pcre2_compile_check_posix_syntax.c"
},
{
"function_name": "check_posix_name",
"function_signature": "static int check_posix_name(PCRE2_SPTR ptr, int len)",
"test_filename": "tests_pcre2_compile_check_posix_name.c"
},
{
"function_name": "read_name",
"function_signature": "static BOOL read_name(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, BOOL utf, uint32_t terminator,\n PCRE2_SIZE *offsetptr, PCRE2_SPTR *nameptr, uint32_t *namelenptr,\n int *errorcodeptr, compile_block *cb)",
"test_filename": "tests_pcre2_compile_read_name.c"
},
{
"function_name": "max_parsed_pattern",
"function_signature": "static ptrdiff_t max_parsed_pattern(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, BOOL utf,\n uint32_t options)",
"test_filename": "tests_pcre2_compile_max_parsed_pattern.c"
},
{
"function_name": "parse_regex",
"function_signature": "static int parse_regex(PCRE2_SPTR ptr, uint32_t options, uint32_t xoptions,\n BOOL *has_lookbehind, compile_block *cb)",
"test_filename": "tests_pcre2_compile_parse_regex.c"
},
{
"function_name": "compile_branch",
"function_signature": "static int compile_branch(uint32_t *optionsptr, uint32_t *xoptionsptr,\n PCRE2_UCHAR **codeptr, uint32_t **pptrptr, int *errorcodeptr,\n uint32_t *firstcuptr, uint32_t *firstcuflagsptr, uint32_t *reqcuptr,\n uint32_t *reqcuflagsptr, branch_chain *bcptr, open_capitem *open_caps,\n compile_block *cb, PCRE2_SIZE *lengthptr)",
"test_filename": "tests_pcre2_compile_compile_branch.c"
},
{
"function_name": "compile_regex",
"function_signature": "static int compile_regex(uint32_t options, uint32_t xoptions, PCRE2_UCHAR **codeptr,\n uint32_t **pptrptr, int *errorcodeptr, uint32_t skipunits,\n uint32_t *firstcuptr, uint32_t *firstcuflagsptr, uint32_t *reqcuptr,\n uint32_t *reqcuflagsptr, branch_chain *bcptr, open_capitem *open_caps,\n compile_block *cb, PCRE2_SIZE *lengthptr)",
"test_filename": "tests_pcre2_compile_compile_regex.c"
},
{
"function_name": "is_anchored",
"function_signature": "static BOOL is_anchored(PCRE2_SPTR code, uint32_t bracket_map, compile_block *cb,\n int atomcount, BOOL inassert, BOOL dotstar_anchor)",
"test_filename": "tests_pcre2_compile_is_anchored.c"
},
{
"function_name": "is_startline",
"function_signature": "static BOOL is_startline(PCRE2_SPTR code, unsigned int bracket_map, compile_block *cb,\n int atomcount, BOOL inassert, BOOL dotstar_anchor)",
"test_filename": "tests_pcre2_compile_is_startline.c"
},
{
"function_name": "find_firstassertedcu",
"function_signature": "static uint32_t find_firstassertedcu(PCRE2_SPTR code, uint32_t *flags, uint32_t inassert)",
"test_filename": "tests_pcre2_compile_find_firstassertedcu.c"
},
{
"function_name": "get_grouplength",
"function_signature": "static int get_grouplength(uint32_t **pptrptr, int *minptr, BOOL isinline, int *errcodeptr,\n int *lcptr, int group, parsed_recurse_check *recurses, compile_block *cb)",
"test_filename": "tests_pcre2_compile_get_grouplength.c"
},
{
"function_name": "get_branchlength",
"function_signature": "static int get_branchlength(uint32_t **pptrptr, int *minptr, int *errcodeptr, int *lcptr,\n parsed_recurse_check *recurses, compile_block *cb)",
"test_filename": "tests_pcre2_compile_get_branchlength.c"
},
{
"function_name": "set_lookbehind_lengths",
"function_signature": "static BOOL set_lookbehind_lengths(uint32_t **pptrptr, int *errcodeptr, int *lcptr,\n parsed_recurse_check *recurses, compile_block *cb)",
"test_filename": "tests_pcre2_compile_set_lookbehind_lengths.c"
},
{
"function_name": "check_lookbehinds",
"function_signature": "static int check_lookbehinds(uint32_t *pptr, uint32_t **retptr,\n parsed_recurse_check *recurses, compile_block *cb, int *lcptr)",
"test_filename": "tests_pcre2_compile_check_lookbehinds.c"
}
]