/PHP-8.2/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 | 601 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_skip_line_helper() 646 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_seek_to_end() 673 …_exists(&PHPDBG_G(seek), (zend_ulong) phpdbg_user_execute_data(EG(current_execute_data))->opline))… in PHPDBG_COMMAND() 751 zend_execute_data *ex = EG(current_execute_data); in PHPDBG_COMMAND() 946 zend_execute_data *original_execute_data = EG(current_execute_data); in PHPDBG_COMMAND() 987 EG(current_execute_data) = original_execute_data; in PHPDBG_COMMAND() 1624 …if (EG(current_execute_data) && EG(current_execute_data)->func && ZEND_USER_CODE(EG(current_execut… 1625 backup_opline = EG(current_execute_data)->opline; \ 1637 EG(current_execute_data)->opline = backup_opline; \ 1831 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.2/Zend/ |
H A D | zend_vm_execute.skl | 42 object_or_called_scope = zend_get_this_object(EG(current_execute_data)); 44 object_or_called_scope = zend_get_called_scope(EG(current_execute_data)); 51 if (EG(current_execute_data)) { 56 EX(prev_execute_data) = EG(current_execute_data);
|
H A D | zend_objects.c | 106 if (EG(current_execute_data)) { in zend_objects_destroy_object() 127 if (EG(current_execute_data)) { in zend_objects_destroy_object() 159 if (EG(current_execute_data) in zend_objects_destroy_object() 160 && EG(current_execute_data)->func in zend_objects_destroy_object() 161 && ZEND_USER_CODE(EG(current_execute_data)->func->common.type)) { in zend_objects_destroy_object() 162 zend_rethrow_exception(EG(current_execute_data)); in zend_objects_destroy_object()
|
H A D | zend_fibers.c | 97 zend_execute_data *current_execute_data; member 110 state->current_execute_data = EG(current_execute_data); in zend_fiber_capture_vm_state() 123 EG(current_execute_data) = state->current_execute_data; in zend_fiber_restore_vm_state() 507 EG(current_execute_data) = fiber->execute_data; in zend_fiber_execute() 585 previous->execute_data = EG(current_execute_data); in zend_fiber_resume() 605 fiber->execute_data = EG(current_execute_data); in zend_fiber_suspend() 645 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_fiber_object_destroy() 647 zend_rethrow_exception(EG(current_execute_data)); in zend_fiber_object_destroy() 652 if (!EG(current_execute_data)) { in zend_fiber_object_destroy() 834 fiber->stack_bottom->prev_execute_data = EG(current_execute_data); in ZEND_METHOD() [all …]
|
H A D | zend_generators.c | 518 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception() 527 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception() 538 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception() 630 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current() 643 EG(current_execute_data) = original_execute_data; in zend_generator_update_current() 792 EG(current_execute_data) = generator->execute_data; in zend_generator_resume() 811 EG(current_execute_data) = original_execute_data; in zend_generator_resume() 858 EG(current_execute_data) = original_execute_data; in zend_generator_resume() 868 if (!EG(current_execute_data)) { in zend_generator_resume() 870 } else if (EG(current_execute_data)->func && in zend_generator_resume() [all …]
|
H A D | zend_execute_API.c | 165 EG(current_execute_data) = NULL; in init_executor() 508 func = EG(current_execute_data)->func; in get_active_class_name() 538 func = EG(current_execute_data)->func; in get_active_function_name() 586 func = EG(current_execute_data)->func; in get_active_function_arg_name() 620 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_filename_ex() 640 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_lineno() 678 return EG(current_execute_data) != 0; in zend_is_executing() 955 EG(current_execute_data) = call; in zend_call_function() 1009 if (UNEXPECTED(!EG(current_execute_data))) { in zend_call_function() 1011 } else if (EG(current_execute_data)->func && in zend_call_function() [all …]
|
H A D | zend_exceptions.c | 163 zend_execute_data *execute_data = EG(current_execute_data); in is_handle_exception_set() 197 if (!EG(current_execute_data)) { in zend_throw_exception_internal() 216 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal() 217 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal() 235 if (EG(current_execute_data)) { in zend_clear_exception() 236 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception() 256 if (EG(current_execute_data)) { in zend_default_exception_new_ex() 1020 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_unwind_exit() 1021 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_unwind_exit() 1028 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 | 783 executor_globals->current_execute_data = NULL; in executor_globals_ctor() 1185 EG(current_execute_data) = NULL; in _zend_bailout() 1261 EG(current_execute_data) = NULL; in zend_deactivate() 1402 ex = EG(current_execute_data); in zend_error_zstr_at() 1511 if (!(EG(current_execute_data) && in zend_error_zstr_at() 1512 EG(current_execute_data)->func && in zend_error_zstr_at() 1513 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_zstr_at() 1514 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_zstr_at() 1515 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_zstr_at() 1717 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 402 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 434 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 462 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_r_helper() 544 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 576 execute_data = EG(current_execute_data); in zend_jit_fetch_dim_is_helper() 604 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 …]
|
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.2/ext/zend_test/ |
H A D | fiber.c | 95 EG(current_execute_data) = execute_data; in zend_test_fiber_execute() 176 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_test_fiber_object_destroy() 177 && ZEND_USER_CODE(EG(current_execute_data)->func->common.type)) { in zend_test_fiber_object_destroy() 178 zend_rethrow_exception(EG(current_execute_data)); in zend_test_fiber_object_destroy() 183 if (!EG(current_execute_data)) { in zend_test_fiber_object_destroy()
|
H A D | test.c | 320 …zend_string *function_name = get_function_or_method_name(EG(current_execute_data)->prev_execute_da… in ZEND_FUNCTION() 526 if (has_opline(EG(current_execute_data))) { in zend_test_custom_malloc() 527 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_malloc() 534 if (has_opline(EG(current_execute_data))) { in zend_test_custom_free() 535 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_free() 542 if (has_opline(EG(current_execute_data))) { in zend_test_custom_realloc() 543 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_realloc()
|
/PHP-8.2/ext/opcache/ |
H A D | ZendAccelerator.c | 1024 !EG(current_execute_data) && in zend_get_file_handle_timestamp() 1925 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file() 2020 ((!EG(current_execute_data) && in persistent_compile_file() 2023 (EG(current_execute_data) && in persistent_compile_file() 2221 if (!EG(current_execute_data) || in persistent_compile_file() 2505 if ((!EG(current_execute_data) && in persistent_stream_open_function() 2508 (EG(current_execute_data) && in persistent_stream_open_function() 2530 if ((!EG(current_execute_data)) || in persistent_zend_resolve_path() 2531 (EG(current_execute_data) && in persistent_zend_resolve_path() 2550 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path() [all …]
|
/PHP-8.2/Zend/Optimizer/ |
H A D | pass1.c | 127 zend_execute_data *orig_execute_data = EG(current_execute_data); in zend_optimizer_pass1() 133 EG(current_execute_data) = &fake_execute_data; in zend_optimizer_pass1() 139 EG(current_execute_data) = orig_execute_data; in zend_optimizer_pass1()
|
/PHP-8.2/ |
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.2/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 59 execute_data = EG(current_execute_data); in fuzzer_execute_ex()
|
/PHP-8.2/main/ |
H A D | SAPI.c | 946 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_post_entry() 959 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_unregister_post_entry() 969 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_default_post_reader() 979 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_treat_data() 988 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_input_filter()
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 66 if (0 > fpm_trace_get_long((long) &EG(current_execute_data), &l)) { in fpm_php_trace_dump()
|