/PHP-8.3/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() 101 if (PHPDBG_G(in_execution) && EG(current_execute_data)) { in PHPDBG_PRINT() 102 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() 645 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_seek_to_end() 672 …_exists(&PHPDBG_G(seek), (zend_ulong) phpdbg_user_execute_data(EG(current_execute_data))->opline))… in PHPDBG_COMMAND() 750 zend_execute_data *ex = EG(current_execute_data); in PHPDBG_COMMAND() 945 zend_execute_data *original_execute_data = EG(current_execute_data); in PHPDBG_COMMAND() 986 EG(current_execute_data) = original_execute_data; in PHPDBG_COMMAND() 1622 …if (EG(current_execute_data) && EG(current_execute_data)->func && ZEND_USER_CODE(EG(current_execut… 1623 backup_opline = EG(current_execute_data)->opline; \ 1635 EG(current_execute_data)->opline = backup_opline; \ 1829 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()
|
H A D | phpdbg_cmd.h | 107 #define PHPDBG_EX(v) (EG(current_execute_data)->v)
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 392 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 424 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 452 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 534 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 566 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 594 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 775 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_rw_helper() 802 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_rw_helper() 832 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_rw_helper() 907 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_w_helper() [all …]
|
H A D | zend_jit_vm_helpers.c | 109 execute_data = EG(current_execute_data); in zend_jit_leave_top_func_helper() 183 zend_execute_data *execute_data = EG(current_execute_data); in zend_jit_deprecated_helper() 293 zend_execute_data *execute_data = EG(current_execute_data); in _zend_quick_get_constant() 366 execute_data = EG(current_execute_data); in zend_jit_trace_counter_helper() 915 } else if (execute_data == EG(current_execute_data)) { 919 execute_data = EG(current_execute_data);
|
/PHP-8.3/Zend/ |
H A D | zend_objects.c | 109 if (EG(current_execute_data)) { in zend_objects_destroy_object() 130 if (EG(current_execute_data)) { in zend_objects_destroy_object() 162 if (EG(current_execute_data) in zend_objects_destroy_object() 163 && EG(current_execute_data)->func in zend_objects_destroy_object() 164 && ZEND_USER_CODE(EG(current_execute_data)->func->common.type)) { in zend_objects_destroy_object() 165 zend_rethrow_exception(EG(current_execute_data)); in zend_objects_destroy_object()
|
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_fibers.c | 111 zend_execute_data *current_execute_data; member 128 state->current_execute_data = EG(current_execute_data); in zend_fiber_capture_vm_state() 145 EG(current_execute_data) = state->current_execute_data; in zend_fiber_restore_vm_state() 586 EG(current_execute_data) = fiber->execute_data; in zend_fiber_execute() 669 previous->execute_data = EG(current_execute_data); in zend_fiber_resume() 689 fiber->execute_data = EG(current_execute_data); in zend_fiber_suspend() 726 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_fiber_object_destroy() 728 zend_rethrow_exception(EG(current_execute_data)); in zend_fiber_object_destroy() 733 if (!EG(current_execute_data)) { in zend_fiber_object_destroy() 915 fiber->stack_bottom->prev_execute_data = EG(current_execute_data); in ZEND_METHOD() [all …]
|
H A D | zend_generators.c | 501 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception() 510 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception() 521 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception() 613 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current() 626 EG(current_execute_data) = original_execute_data; in zend_generator_update_current() 775 EG(current_execute_data) = generator->execute_data; in zend_generator_resume() 794 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_execute_API.c | 166 EG(current_execute_data) = NULL; in init_executor() 509 func = EG(current_execute_data)->func; in get_active_class_name() 539 func = EG(current_execute_data)->func; in get_active_function_name() 587 func = EG(current_execute_data)->func; in get_active_function_arg_name() 621 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_filename_ex() 641 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_lineno() 679 return EG(current_execute_data) != 0; in zend_is_executing() 963 EG(current_execute_data) = call; in zend_call_function() 1017 if (UNEXPECTED(!EG(current_execute_data))) { in zend_call_function() 1019 } else if (EG(current_execute_data)->func && in zend_call_function() [all …]
|
H A D | zend_exceptions.c | 166 zend_execute_data *execute_data = EG(current_execute_data); in is_handle_exception_set() 200 if (!EG(current_execute_data)) { in zend_throw_exception_internal() 229 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal() 230 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal() 248 if (EG(current_execute_data)) { in zend_clear_exception() 249 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception() 267 if (EG(current_execute_data)) { in zend_default_exception_new() 1027 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_unwind_exit() 1028 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_unwind_exit() 1035 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_graceful_exit() [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_observer.c | 289 …ute_data *execute_data = current_observed_frame, *original_execute_data = EG(current_execute_data); in zend_observer_fcall_end_all() 292 EG(current_execute_data) = execute_data; in zend_observer_fcall_end_all() 296 EG(current_execute_data) = original_execute_data; in zend_observer_fcall_end_all()
|
H A D | zend.c | 797 executor_globals->current_execute_data = NULL; in executor_globals_ctor() 1213 EG(current_execute_data) = NULL; in _zend_bailout() 1289 EG(current_execute_data) = NULL; in zend_deactivate() 1421 ex = EG(current_execute_data); in zend_error_zstr_at() 1530 if (!(EG(current_execute_data) && in zend_error_zstr_at() 1531 EG(current_execute_data)->func && in zend_error_zstr_at() 1532 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_zstr_at() 1533 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_zstr_at() 1534 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_zstr_at() 1736 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
|
/PHP-8.3/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 | 371 …zend_string *function_name = get_function_or_method_name(EG(current_execute_data)->prev_execute_da… in ZEND_FUNCTION() 647 if (has_opline(EG(current_execute_data))) { in zend_test_custom_malloc() 648 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_malloc() 655 if (has_opline(EG(current_execute_data))) { in zend_test_custom_free() 656 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_free() 663 if (has_opline(EG(current_execute_data))) { in zend_test_custom_realloc() 664 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_realloc()
|
/PHP-8.3/ext/opcache/ |
H A D | ZendAccelerator.c | 1018 !EG(current_execute_data) && in zend_get_file_handle_timestamp() 1913 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file() 2008 ((!EG(current_execute_data) && in persistent_compile_file() 2011 (EG(current_execute_data) && in persistent_compile_file() 2195 if (!EG(current_execute_data) || in persistent_compile_file() 2479 if ((!EG(current_execute_data) && in persistent_stream_open_function() 2482 (EG(current_execute_data) && in persistent_stream_open_function() 2504 if ((!EG(current_execute_data)) || in persistent_zend_resolve_path() 2505 (EG(current_execute_data) && in persistent_zend_resolve_path() 2524 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path() [all …]
|
/PHP-8.3/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.3/ |
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.3/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 59 execute_data = EG(current_execute_data); in fuzzer_execute_ex()
|
/PHP-8.3/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.3/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()
|