Home
last modified time | relevance | path

Searched refs:current_execute_data (Results 1 – 25 of 63) sorted by relevance

123

/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_frame.c116 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()
306 if (EG(current_execute_data) == gen->execute_data) { in phpdbg_open_generator_frame()
315 EG(current_execute_data) = gen->execute_data; in phpdbg_open_generator_frame()
321 s = phpdbg_compile_stackframe(EG(current_execute_data)); in phpdbg_open_generator_frame()
H A Dphpdbg_info.c182 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 Dphpdbg_print.c43 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 Dphpdbg_prompt.c601 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()
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 Dphpdbg_bp.c578 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 Dphpdbg_cmd.h107 #define PHPDBG_EX(v) (EG(current_execute_data)->v)
/PHP-8.1/Zend/
H A Dzend_vm_execute.skl42 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 Dzend_objects.c106 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 Dzend_fibers.c93 zend_execute_data *current_execute_data; member
106 state->current_execute_data = EG(current_execute_data); in zend_fiber_capture_vm_state()
119 EG(current_execute_data) = state->current_execute_data; in zend_fiber_restore_vm_state()
478 EG(current_execute_data) = fiber->execute_data; in zend_fiber_execute()
558 previous->execute_data = EG(current_execute_data); in zend_fiber_resume()
578 fiber->execute_data = EG(current_execute_data); in zend_fiber_suspend()
618 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_fiber_object_destroy()
620 zend_rethrow_exception(EG(current_execute_data)); in zend_fiber_object_destroy()
625 if (!EG(current_execute_data)) { in zend_fiber_object_destroy()
778 fiber->stack_bottom->prev_execute_data = EG(current_execute_data); in ZEND_METHOD()
[all …]
H A Dzend_generators.c463 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception()
469 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception()
479 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception()
571 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current()
584 EG(current_execute_data) = original_execute_data; in zend_generator_update_current()
714 EG(current_execute_data) = generator->execute_data; in zend_generator_resume()
733 EG(current_execute_data) = original_execute_data; in zend_generator_resume()
771 EG(current_execute_data) = original_execute_data; in zend_generator_resume()
781 if (!EG(current_execute_data)) { in zend_generator_resume()
783 } else if (EG(current_execute_data)->func && in zend_generator_resume()
[all …]
H A Dzend_execute_API.c165 EG(current_execute_data) = NULL; in init_executor()
499 func = EG(current_execute_data)->func; in get_active_class_name()
529 func = EG(current_execute_data)->func; in get_active_function_name()
577 func = EG(current_execute_data)->func; in get_active_function_arg_name()
599 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_filename()
614 zend_execute_data *ex = EG(current_execute_data); in zend_get_executed_filename_ex()
667 return EG(current_execute_data) != 0; in zend_is_executing()
937 EG(current_execute_data) = call; in zend_call_function()
986 if (UNEXPECTED(!EG(current_execute_data))) { in zend_call_function()
988 } else if (EG(current_execute_data)->func && in zend_call_function()
[all …]
H A Dzend_exceptions.c158 zend_execute_data *execute_data = EG(current_execute_data); in is_handle_exception_set()
192 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
211 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
212 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
230 if (EG(current_execute_data)) { in zend_clear_exception()
231 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
251 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
1019 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_unwind_exit()
1020 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_unwind_exit()
1027 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_graceful_exit()
[all …]
H A Dzend_dtrace.c32 zend_execute_data *ex = EG(current_execute_data); in dtrace_get_executed_filename()
H A Dzend.c786 executor_globals->current_execute_data = NULL; in executor_globals_ctor()
1201 EG(current_execute_data) = NULL; in _zend_bailout()
1276 EG(current_execute_data) = NULL; in zend_deactivate()
1417 ex = EG(current_execute_data); in zend_error_zstr_at()
1526 if (!(EG(current_execute_data) && in zend_error_zstr_at()
1527 EG(current_execute_data)->func && in zend_error_zstr_at()
1528 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_zstr_at()
1529 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_zstr_at()
1530 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_zstr_at()
1732 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_helpers.c402 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 Dzend_jit_vm_helpers.c109 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()
256 zend_execute_data *execute_data = EG(current_execute_data); in _zend_quick_get_constant()
329 execute_data = EG(current_execute_data); in zend_jit_trace_counter_helper()
868 } else if (execute_data == EG(current_execute_data)) {
872 execute_data = EG(current_execute_data);
/PHP-8.1/ext/zend_test/
H A Dfiber.c95 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 Dtest.c277 …zend_string *function_name = get_function_or_method_name(EG(current_execute_data)->prev_execute_da… in ZEND_FUNCTION()
385 if (has_opline(EG(current_execute_data))) { in zend_test_custom_malloc()
386 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_malloc()
393 if (has_opline(EG(current_execute_data))) { in zend_test_custom_free()
394 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_free()
401 if (has_opline(EG(current_execute_data))) { in zend_test_custom_realloc()
402 assert(EG(current_execute_data)->opline->lineno != (uint32_t)-1); in zend_test_custom_realloc()
/PHP-8.1/ext/opcache/
H A DZendAccelerator.c981 !EG(current_execute_data) && in zend_get_file_handle_timestamp()
1903 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file()
2000 ((!EG(current_execute_data) && in persistent_compile_file()
2003 (EG(current_execute_data) && in persistent_compile_file()
2222 if (!EG(current_execute_data) || in persistent_compile_file()
2506 if ((!EG(current_execute_data) && in persistent_stream_open_function()
2509 (EG(current_execute_data) && in persistent_stream_open_function()
2531 if ((!EG(current_execute_data)) || in persistent_zend_resolve_path()
2532 (EG(current_execute_data) && in persistent_zend_resolve_path()
2551 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
[all …]
/PHP-8.1/sapi/fuzzer/
H A Dfuzzer-execute.c45 execute_data = EG(current_execute_data); in fuzzer_execute_ex()
H A Dfuzzer-sapi.c211 EG(current_execute_data) = &execute_data; in fuzzer_setup_dummy_frame()
/PHP-8.1/
H A D.gdbinit34 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
562 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var)
567 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var)
612 dump_bt $eg.current_execute_data
619 > (gdb) dump_bt $eg.current_execute_data
/PHP-8.1/main/
H A DSAPI.c946 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.1/sapi/fpm/fpm/
H A Dfpm_php_trace.c66 if (0 > fpm_trace_get_long((long) &EG(current_execute_data), &l)) { in fpm_php_trace_dump()
/PHP-8.1/Zend/Optimizer/
H A Dpass1.c156 zend_execute_data *orig_execute_data = EG(current_execute_data); in zend_optimizer_pass1()
162 EG(current_execute_data) = &fake_execute_data; in zend_optimizer_pass1()
175 EG(current_execute_data) = orig_execute_data; in zend_optimizer_pass1()

Completed in 114 milliseconds

123