/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | ghsa-9fcc-425m-g385_001.phpt | 2 GHSA-9fcc-425m-g385 - bypass CVE-2024-1874 - batch file variation 17 $batch_file_path = __DIR__ . '/ghsa-9fcc-425m-g385_001.bat'; 39 '"%sghsa-9fcc-425m-g385_001.bat."' is not recognized as an internal or external command, 41 %sghsa-9fcc-425m-g385_001.bat 43 %sghsa-9fcc-425m-g385_001.bat. 45 %sghsa-9fcc-425m-g385_001.bat. ... 47 %sghsa-9fcc-425m-g385_001.bat. ... . 49 '"%sghsa-9fcc-425m-g385_001.bat. ... . ."' is not recognized as an internal or external command, 55 @unlink(__DIR__ . '/ghsa-9fcc-425m-g385_001.bat');
|
H A D | ghsa-9fcc-425m-g385_002.phpt | 2 GHSA-9fcc-425m-g385 - bypass CVE-2024-1874 - cmd.exe variation 17 $batch_file_path = __DIR__ . '/ghsa-9fcc-425m-g385_002.bat'; 43 %sghsa-9fcc-425m-g385_002.bat 45 %sghsa-9fcc-425m-g385_002.bat 47 %sghsa-9fcc-425m-g385_002.bat 49 %sghsa-9fcc-425m-g385_002.bat 53 %sghsa-9fcc-425m-g385_002.bat 55 %sghsa-9fcc-425m-g385_002.bat 65 @unlink(__DIR__ . '/ghsa-9fcc-425m-g385_002.bat');
|
H A D | ghsa-9fcc-425m-g385_003.phpt | 2 GHSA-9fcc-425m-g385 - bypass CVE-2024-1874 - exhaustive suffix test 16 $batch_file_path = __DIR__ . '/ghsa-9fcc-425m-g385_003.bat'; 549 @unlink(__DIR__ . '/ghsa-9fcc-425m-g385_003.bat');
|
/PHP-8.3/Zend/ |
H A D | zend_API.c | 3660 fcc->called_scope = fcc->object ? fcc->object->ce : ce; in zend_is_callable_check_class() 3763 fcc->called_scope = fcc->calling_scope; in zend_is_callable_check_func() 3766 fcc->called_scope = fcc->object ? fcc->object->ce : fcc->calling_scope; in zend_is_callable_check_func() 3830 ((fcc->object && fcc->calling_scope->__call) || in zend_is_callable_check_func() 3844 if (fcc->object && fcc->calling_scope == ce_org) { in zend_is_callable_check_func() 3850 fcc->function_handler = fcc->object->handlers->get_method(&fcc->object, mname, NULL); in zend_is_callable_check_func() 3864 fcc->function_handler = fcc->calling_scope->get_static_method(fcc->calling_scope, mname); in zend_is_callable_check_func() 3923 fcc->called_scope = fcc->object->ce; in zend_is_callable_check_func() 4017 fcc->called_scope = fcc->calling_scope; in zend_is_callable_at_frame() 4068 fcc->called_scope = fcc->calling_scope; in zend_is_callable_at_frame() [all …]
|
H A D | zend_closures.c | 287 zend_fcall_info_cache fcc; in ZEND_NAMED_FUNCTION() local 291 memset(&fcc, 0, sizeof(zend_fcall_info_cache)); in ZEND_NAMED_FUNCTION() 320 fcc.object = fci.object = Z_OBJ_P(ZEND_THIS); in ZEND_NAMED_FUNCTION() 323 zend_call_function(&fci, &fcc); in ZEND_NAMED_FUNCTION() 330 zend_fcall_info_cache fcc; in zend_create_closure_from_callable() local 335 if (!zend_is_callable_ex(callable, NULL, 0, NULL, &fcc, error)) { in zend_create_closure_from_callable() 339 mptr = fcc.function_handler; in zend_create_closure_from_callable() 342 if (fcc.object && fcc.object->ce == zend_ce_closure in zend_create_closure_from_callable() 344 RETVAL_OBJ_COPY(fcc.object); in zend_create_closure_from_callable() 373 if (fcc.object) { in zend_create_closure_from_callable() [all …]
|
H A D | zend_API.h | 337 #define ZEND_FCC_INITIALIZED(fcc) ((fcc).function_handler != NULL) argument 771 if (fcc->object) { in zend_fcc_addref() 772 GC_ADDREF(fcc->object); in zend_fcc_addref() 774 if (fcc->closure) { in zend_fcc_addref() 775 GC_ADDREF(fcc->closure); in zend_fcc_addref() 788 if (fcc->object) { in zend_fcc_dtor() 789 OBJ_RELEASE(fcc->object); in zend_fcc_dtor() 793 if (fcc->closure) { in zend_fcc_dtor() 794 OBJ_RELEASE(fcc->closure); in zend_fcc_dtor() 805 if (fcc->object) { in zend_get_gc_buffer_add_fcc() [all …]
|
H A D | zend_fibers.c | 809 zend_fcall_info_cache fcc; in ZEND_METHOD() local 812 Z_PARAM_FUNC(fci, fcc) in ZEND_METHOD() 823 fiber->fci_cache = fcc; in ZEND_METHOD()
|
H A D | zend_builtin_functions.c | 1155 zend_fcall_info_cache fcc; in ZEND_FUNCTION() local 1159 Z_PARAM_FUNC_OR_NULL(fci, fcc) in ZEND_FUNCTION() 1214 zend_fcall_info_cache fcc; in ZEND_FUNCTION() local 1217 Z_PARAM_FUNC_OR_NULL(fci, fcc) in ZEND_FUNCTION()
|
/PHP-8.3/ext/spl/ |
H A D | php_spl.c | 388 zend_fcall_info *fci, zend_fcall_info_cache *fcc) { in autoload_func_info_from_fci() argument 390 alfi->ce = fcc->calling_scope; in autoload_func_info_from_fci() 391 alfi->func_ptr = fcc->function_handler; in autoload_func_info_from_fci() 392 alfi->obj = fcc->object; in autoload_func_info_from_fci() 511 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 516 Z_PARAM_FUNC_OR_NULL(fci, fcc) in PHP_FUNCTION() 535 if (!fcc.function_handler) { in PHP_FUNCTION() 548 alfi = autoload_func_info_from_fci(&fci, &fcc); in PHP_FUNCTION() 583 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 586 Z_PARAM_FUNC(fci, fcc) in PHP_FUNCTION() [all …]
|
/PHP-8.3/win32/ |
H A D | signal.c | 91 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 96 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f!|b", &fci, &fcc, &add) == FAILURE) { in PHP_FUNCTION()
|
/PHP-8.3/ext/pdo_sqlite/ |
H A D | php_pdo_sqlite_int.h | 31 zend_fcall_info_cache fcc; member
|
H A D | sqlite_driver.c | 379 if ((ret = zend_call_function(&fc->fci, &fc->fcc)) == FAILURE) { in do_callback() 489 if ((ret = zend_call_function(&collation->fc.fci, &collation->fc.fcc)) == FAILURE) { in php_sqlite3_collation_callback() 516 zend_fcall_info_cache fcc; in PHP_METHOD() local 527 Z_PARAM_FUNC(fci, fcc) in PHP_METHOD() 634 zend_fcall_info_cache fcc; in PHP_METHOD() local 643 Z_PARAM_FUNC(fci, fcc) in PHP_METHOD()
|
/PHP-8.3/ext/readline/ |
H A D | readline.c | 477 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 479 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "f", &fci, &fcc)) { in PHP_FUNCTION() 518 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 521 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "sf", &prompt, &prompt_len, &fci, &fcc)) { in PHP_FUNCTION()
|
/PHP-8.3/ext/pcre/pcre2lib/ |
H A D | pcre2_auto_possess.c | 325 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() argument 419 list[3] = fcc[chr]; in get_chr_property_list() 423 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list() 425 list[3] = fcc[chr]; in get_chr_property_list() 713 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes() 1152 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV() 1212 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
|
H A D | pcre2_dfa_match.c | 536 const uint8_t *ctypes, *lcc, *fcc; in internal_dfa_match() local 568 fcc = mb->tables + fcc_offset; in internal_dfa_match() 2257 othercase = fcc[c]; in internal_dfa_match() 2404 otherd = TABLE_GET(d, fcc, d); in internal_dfa_match() 2439 otherd = TABLE_GET(d, fcc, d); in internal_dfa_match() 2482 otherd = TABLE_GET(d, fcc, d); in internal_dfa_match() 2523 otherd = TABLE_GET(d, fcc, d); in internal_dfa_match() 2556 otherd = TABLE_GET(d, fcc, d); in internal_dfa_match() 2596 otherd = TABLE_GET(d, fcc, d); in internal_dfa_match()
|
H A D | pcre2_intmodedep.h | 722 const uint8_t *fcc; /* Points to case-flipping table */ member 869 const uint8_t *fcc; /* Points to case-flipping table */ member
|
/PHP-8.3/ext/sqlite3/ |
H A D | sqlite3.c | 940 zend_fcall_info_cache fcc; in PHP_METHOD() local 960 if (!ZEND_FCC_INITIALIZED(fcc)) { in PHP_METHOD() 966 zend_fcc_dup(&func->func, &fcc); in PHP_METHOD() 1044 zend_fcall_info_cache fcc; in PHP_METHOD() local 1061 if (!ZEND_FCC_INITIALIZED(fcc)) { in PHP_METHOD() 1067 zend_fcc_dup(&collation->cmp_func, &fcc); in PHP_METHOD() 1317 zend_fcall_info_cache fcc; in PHP_METHOD() local 1320 Z_PARAM_FUNC_OR_NULL(fci, fcc) in PHP_METHOD() 1332 if (!ZEND_FCC_INITIALIZED(fcc)) { in PHP_METHOD() 1338 db_obj->authorizer_fcc = fcc; in PHP_METHOD() [all …]
|
/PHP-8.3/ext/pcre/ |
H A D | php_pcre.c | 1932 fci, fcc, subject, offsets, subpat_names, num_subpats, count, in php_pcre_replace_func_impl() 2042 zend_fcall_info *fci, zend_fcall_info_cache *fcc, in php_pcre_replace_func() argument 2161 zend_fcall_info *fci, zend_fcall_info_cache *fcc, in php_replace_in_subject_func() argument 2168 regex_str, subject, fci, fcc, limit, replace_count, flags); in php_replace_in_subject_func() 2187 regex_entry_str, subject, fci, fcc, limit, replace_count, flags); in php_replace_in_subject_func() 2204 zend_fcall_info *fci, zend_fcall_info_cache *fcc, in preg_replace_func_impl() argument 2358 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 2363 Z_PARAM_FUNC(fci, fcc) in PHP_FUNCTION() 2372 &fci, &fcc, in PHP_FUNCTION() 2389 zend_fcall_info_cache fcc; in PHP_FUNCTION() local [all …]
|
/PHP-8.3/ext/pdo/ |
H A D | pdo_stmt.c | 622 zend_fcall_info_cache *fcc = &stmt->fetch.cls.fcc; in do_fetch_class_prepare() local 639 fcc->function_handler = ce->constructor; in do_fetch_class_prepare() 640 fcc->called_scope = ce; in do_fetch_class_prepare() 655 if (zend_fcall_info_init(callable, 0, fci, fcc, NULL, &is_callable_error) == FAILURE) { in make_callable_ex() 679 zend_fcall_info_cache *fcc = &stmt->fetch.cls.fcc; in do_fetch_func_prepare() local 681 if (!make_callable_ex(stmt, &stmt->fetch.func.function, fci, fcc, stmt->column_count)) { in do_fetch_func_prepare() 854 stmt->fetch.cls.fcc.object = Z_OBJ_P(return_value); in do_fetch() 855 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch() 1034 stmt->fetch.cls.fcc.object = Z_OBJ_P(return_value); in do_fetch() 1035 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch() [all …]
|
H A D | php_pdo_driver.h | 612 zend_fcall_info_cache fcc; member 619 zend_fcall_info_cache fcc; member
|
H A D | pdo_dbh.c | 470 zend_fcall_info_cache fcc; in pdo_stmt_construct() local 483 fcc.function_handler = dbstmt_ce->constructor; in pdo_stmt_construct() 484 fcc.called_scope = Z_OBJCE_P(object); in pdo_stmt_construct() 485 fcc.object = Z_OBJ_P(object); in pdo_stmt_construct() 487 if (zend_call_function(&fci, &fcc) != FAILURE) { in pdo_stmt_construct()
|
/PHP-8.3/ext/libxml/ |
H A D | libxml.c | 1214 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 1217 Z_PARAM_FUNC_OR_NULL(fci, fcc) in PHP_FUNCTION() 1225 if (!ZEND_FCC_INITIALIZED(fcc)) { in PHP_FUNCTION() 1226 …zend_is_callable_ex(&fci.function_name, NULL, IS_CALLABLE_SUPPRESS_DEPRECATIONS, NULL, &fcc, NULL); in PHP_FUNCTION() 1231 zend_fcc_dup(&LIBXML(entity_loader_callback), &fcc); in PHP_FUNCTION()
|
/PHP-8.3/main/ |
H A D | php_output.h | 116 zend_fcall_info_cache fcc; member
|
H A D | SAPI.c | 116 zend_fcall_info_cache fcc; in PHP_FUNCTION() local 118 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f", &fci, &fcc) == FAILURE) { in PHP_FUNCTION()
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 1987 zend_fcall_info_cache fcc; in ZEND_METHOD() local 1997 fcc.function_handler = fptr; in ZEND_METHOD() 1998 fcc.called_scope = NULL; in ZEND_METHOD() 1999 fcc.object = NULL; in ZEND_METHOD() 2003 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 2006 zend_call_known_fcc(&fcc, &retval, num_args, params, named_params); in ZEND_METHOD() 2025 zend_fcall_info_cache fcc; in ZEND_METHOD() local 2036 fcc.function_handler = fptr; in ZEND_METHOD() 2037 fcc.called_scope = NULL; in ZEND_METHOD() 2038 fcc.object = NULL; in ZEND_METHOD() [all …]
|