/PHP-8.4/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 116 EG(current_execute_data) = PHPDBG_FRAME(execute_data); in phpdbg_restore_frame() 121 …ute_data *execute_data = PHPDBG_FRAME(num) ? PHPDBG_FRAME(execute_data) : EG(current_execute_data); in phpdbg_switch_frame() 155 PHPDBG_FRAME(execute_data) = EG(current_execute_data); in phpdbg_switch_frame() 156 EG(current_execute_data) = execute_data; in phpdbg_switch_frame() 160 zend_string *s = phpdbg_compile_stackframe(EG(current_execute_data)); in phpdbg_switch_frame() 315 if (EG(current_execute_data) == gen->execute_data) { in phpdbg_open_generator_frame() 324 EG(current_execute_data) = gen->execute_data; in phpdbg_open_generator_frame() 330 s = phpdbg_compile_stackframe(EG(current_execute_data)); in phpdbg_open_generator_frame()
|
H A D | phpdbg_info.c | 182 if (!EG(current_execute_data) || !EG(current_execute_data)->func) { in phpdbg_print_symbols() 211 zend_op_array *ops = &EG(current_execute_data)->func->op_array; in phpdbg_print_symbols() 307 …bool in_executor = PHPDBG_G(in_execution) && EG(current_execute_data) && EG(current_execute_data)-… in PHPDBG_INFO() 309 zend_op_array *ops = in_executor ? &EG(current_execute_data)->func->op_array : PHPDBG_G(ops); in PHPDBG_INFO()
|
H A D | phpdbg_print.c | 43 if (PHPDBG_G(in_execution) && EG(current_execute_data)) { in PHPDBG_PRINT() 44 phpdbg_print_opline(phpdbg_user_execute_data(EG(current_execute_data)), 1); in PHPDBG_PRINT() 99 if (PHPDBG_G(in_execution) && EG(current_execute_data)) { in PHPDBG_PRINT() 100 zend_op_array *ops = &phpdbg_user_execute_data(EG(current_execute_data))->func->op_array; in PHPDBG_PRINT()
|
H A D | phpdbg_prompt.c | 600 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_skip_line_helper() 644 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_seek_to_end() 670 …_exists(&PHPDBG_G(seek), (zend_ulong) phpdbg_user_execute_data(EG(current_execute_data))->opline))… in PHPDBG_COMMAND() 748 zend_execute_data *ex = EG(current_execute_data); in PHPDBG_COMMAND() 943 zend_execute_data *original_execute_data = EG(current_execute_data); in PHPDBG_COMMAND() 984 EG(current_execute_data) = original_execute_data; in PHPDBG_COMMAND() 1618 …if (EG(current_execute_data) && EG(current_execute_data)->func && ZEND_USER_CODE(EG(current_execut… 1619 backup_opline = EG(current_execute_data)->opline; \ 1631 EG(current_execute_data)->opline = backup_opline; \ 1834 execute_data = EG(current_execute_data); in phpdbg_execute_ex() [all …]
|
H A D | phpdbg_bp.c | 578 if (EG(current_execute_data) == NULL) { in phpdbg_resolve_opline_break() 588 zend_execute_data *execute_data = EG(current_execute_data); in phpdbg_resolve_opline_break() 948 …if (EG(current_execute_data) && (brake = zend_hash_index_find_ptr(breaks, EG(current_execute_data)… in phpdbg_find_breakpoint_file() 1102 const zend_op *orig_opline = EG(current_execute_data)->opline; in phpdbg_find_conditional_breakpoint() 1103 zend_function *orig_func = EG(current_execute_data)->func; in phpdbg_find_conditional_breakpoint() 1104 zval *orig_retval = EG(current_execute_data)->return_value; in phpdbg_find_conditional_breakpoint() 1129 EG(current_execute_data)->opline = orig_opline; in phpdbg_find_conditional_breakpoint() 1130 EG(current_execute_data)->func = orig_func; in phpdbg_find_conditional_breakpoint() 1131 EG(current_execute_data)->return_value = orig_retval; in phpdbg_find_conditional_breakpoint()
|
/PHP-8.4/Zend/ |
H A D | zend_fibers.c | 112 zend_execute_data *current_execute_data; member 129 state->current_execute_data = EG(current_execute_data); in zend_fiber_capture_vm_state() 146 EG(current_execute_data) = state->current_execute_data; in zend_fiber_restore_vm_state() 593 EG(current_execute_data) = fiber->execute_data; in zend_fiber_execute() 680 previous->execute_data = EG(current_execute_data); in zend_fiber_resume_internal() 702 fiber->execute_data = EG(current_execute_data); in zend_fiber_suspend_internal() 728 fiber->stack_bottom->prev_execute_data = EG(current_execute_data); in zend_fiber_resume() 739 fiber->stack_bottom->prev_execute_data = EG(current_execute_data); in zend_fiber_resume_exception() 787 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_fiber_object_destroy() 789 zend_rethrow_exception(EG(current_execute_data)); in zend_fiber_object_destroy() [all …]
|
H A D | zend_vm_execute.skl | 52 object_or_called_scope = zend_get_this_object(EG(current_execute_data)); 54 object_or_called_scope = zend_get_called_scope(EG(current_execute_data)); 61 if (EG(current_execute_data)) { 66 EX(prev_execute_data) = EG(current_execute_data);
|
H A D | zend_objects.c | 130 if (EG(current_execute_data)) { in zend_objects_destroy_object() 151 if (EG(current_execute_data)) { in zend_objects_destroy_object() 183 if (EG(current_execute_data) in zend_objects_destroy_object() 184 && EG(current_execute_data)->func in zend_objects_destroy_object() 185 && ZEND_USER_CODE(EG(current_execute_data)->func->common.type)) { in zend_objects_destroy_object() 186 zend_rethrow_exception(EG(current_execute_data)); in zend_objects_destroy_object()
|
H A D | zend_generators.c | 507 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception() 513 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception() 522 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception() 614 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current() 625 EG(current_execute_data) = original_execute_data; in zend_generator_update_current() 774 EG(current_execute_data) = generator->execute_data; in zend_generator_resume() 793 EG(current_execute_data) = original_execute_data; in zend_generator_resume() 841 EG(current_execute_data) = original_execute_data; in zend_generator_resume() 851 if (!EG(current_execute_data)) { in zend_generator_resume() 853 } else if (EG(current_execute_data)->func && in zend_generator_resume() [all …]
|
H A D | zend_exceptions.c | 167 zend_execute_data *execute_data = EG(current_execute_data); in is_handle_exception_set() 201 if (!EG(current_execute_data)) { in zend_throw_exception_internal() 230 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal() 231 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal() 249 if (EG(current_execute_data)) { in zend_clear_exception() 250 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception() 268 if (EG(current_execute_data)) { in zend_default_exception_new() 1023 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_unwind_exit() 1024 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_unwind_exit() 1031 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_graceful_exit() [all …]
|
H A D | zend_execute_API.c | 167 EG(current_execute_data) = NULL; in init_executor() 660 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_filename_ex() 680 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_lineno() 703 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_scope() 718 return EG(current_execute_data) != 0; in zend_is_executing() 1001 call->prev_execute_data = EG(current_execute_data); in zend_call_function() 1002 EG(current_execute_data) = call; in zend_call_function() 1056 if (UNEXPECTED(!EG(current_execute_data))) { in zend_call_function() 1058 } else if (EG(current_execute_data)->func && in zend_call_function() 1060 zend_rethrow_exception(EG(current_execute_data)); in zend_call_function() [all …]
|
H A D | zend_dtrace.c | 32 zend_execute_data *ex = EG(current_execute_data); in dtrace_get_executed_filename()
|
H A D | zend_compile.h | 711 (EG(current_execute_data)->prev_execute_data && \ 712 EG(current_execute_data)->prev_execute_data->func && \ 713 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data)->prev_execute_data)) 716 (EG(current_execute_data) && \ 717 EG(current_execute_data)->func && \ 718 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data))) 721 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data))
|
H A D | zend_observer.c | 321 …data *execute_data = EG(current_observed_frame), *original_execute_data = EG(current_execute_data); in zend_observer_fcall_end_all() 324 EG(current_execute_data) = execute_data; in zend_observer_fcall_end_all() 328 EG(current_execute_data) = original_execute_data; in zend_observer_fcall_end_all()
|
H A D | zend_attributes.c | 291 call->prev_execute_data = EG(current_execute_data); in zend_get_attribute_object() 300 EG(current_execute_data) = call; in zend_get_attribute_object() 344 EG(current_execute_data) = call->prev_execute_data; in zend_get_attribute_object()
|
H A D | zend.c | 812 executor_globals->current_execute_data = NULL; in executor_globals_ctor() 1264 EG(current_execute_data) = NULL; in _zend_bailout() 1340 EG(current_execute_data) = NULL; in zend_deactivate() 1472 ex = EG(current_execute_data); in zend_error_zstr_at() 1581 if (!(EG(current_execute_data) && in zend_error_zstr_at() 1582 EG(current_execute_data)->func && in zend_error_zstr_at() 1583 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_zstr_at() 1584 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_zstr_at() 1585 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_zstr_at() 1790 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
|
/PHP-8.4/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 400 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 432 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 460 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 542 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 574 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 602 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 783 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_rw_helper() 810 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_rw_helper() 840 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_rw_helper() 915 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_w_helper() [all …]
|
/PHP-8.4/ext/zend_test/ |
H A D | fiber.c | 96 EG(current_execute_data) = execute_data; in zend_test_fiber_execute() 180 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_test_fiber_object_destroy() 181 && ZEND_USER_CODE(EG(current_execute_data)->func->common.type)) { in zend_test_fiber_object_destroy() 182 zend_rethrow_exception(EG(current_execute_data)); in zend_test_fiber_object_destroy() 187 if (!EG(current_execute_data)) { in zend_test_fiber_object_destroy()
|
H A D | test.c | 380 …zend_string *function_name = get_function_or_method_name(EG(current_execute_data)->prev_execute_da… in ZEND_FUNCTION() 684 if (has_opline(EG(current_execute_data))) { in zend_test_custom_malloc() 685 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_malloc() 692 if (has_opline(EG(current_execute_data))) { in zend_test_custom_free() 693 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_free() 700 if (has_opline(EG(current_execute_data))) { in zend_test_custom_realloc() 701 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_realloc()
|
/PHP-8.4/ext/opcache/ |
H A D | ZendAccelerator.c | 1022 !EG(current_execute_data) && in zend_get_file_handle_timestamp() 1924 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file() 2019 ((!EG(current_execute_data) && in persistent_compile_file() 2022 (EG(current_execute_data) && in persistent_compile_file() 2206 if (!EG(current_execute_data) || in persistent_compile_file() 2503 if ((!EG(current_execute_data) && in persistent_stream_open_function() 2506 (EG(current_execute_data) && in persistent_stream_open_function() 2528 if ((!EG(current_execute_data)) || in persistent_zend_resolve_path() 2529 (EG(current_execute_data) && in persistent_zend_resolve_path() 2548 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path() [all …]
|
/PHP-8.4/Zend/Optimizer/ |
H A D | pass1.c | 133 zend_execute_data *orig_execute_data = EG(current_execute_data); in zend_optimizer_pass1() 139 EG(current_execute_data) = &fake_execute_data; in zend_optimizer_pass1() 145 EG(current_execute_data) = orig_execute_data; in zend_optimizer_pass1()
|
/PHP-8.4/ |
H A D | .gdbinit | 34 set $cv_ex_ptr = $eg.current_execute_data 56 current_execute_data for scope. 149 dumps the current execution stack. usage: dump_bt executor_globals.current_execute_data 572 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var) 577 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var) 622 dump_bt $eg.current_execute_data 629 > (gdb) dump_bt $eg.current_execute_data
|
/PHP-8.4/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 59 execute_data = EG(current_execute_data); in fuzzer_execute_ex()
|
/PHP-8.4/main/ |
H A D | SAPI.c | 951 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_post_entry() 964 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_unregister_post_entry() 974 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_default_post_reader() 984 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_treat_data() 993 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_input_filter()
|
/PHP-8.4/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 65 if (0 > fpm_trace_get_long((long) &EG(current_execute_data), &l)) { in fpm_php_trace_dump()
|