Home
last modified time | relevance | path

Searched refs:execute_data (Results 1 – 25 of 64) sorted by relevance

123

/PHP-8.3/Zend/
H A Dzend_observer.c236 current_observed_frame = execute_data; in _zend_observe_fcall_begin()
244 (*handler)(execute_data); in _zend_observe_fcall_begin()
250 _zend_observe_fcall_begin(execute_data); in zend_observer_generator_resume()
255 ZEND_ASSUME(execute_data->func); in zend_observer_fcall_begin()
257 _zend_observe_fcall_begin(execute_data); in zend_observer_fcall_begin()
262 zend_function *func = execute_data->func; in call_end_observers()
274 (*handler)(execute_data, return_value); in call_end_observers()
291 while (execute_data) { in zend_observer_fcall_end_all()
292 EG(current_execute_data) = execute_data; in zend_observer_fcall_end_all()
293 call_end_observers(execute_data, NULL); in zend_observer_fcall_end_all()
[all …]
H A Dzend_generators.c93 execute_data->call = NULL; in zend_generator_freeze_call_stack()
125 generator->execute_data = execute_data; in zend_generator_cleanup_unfinished_execution()
138 zend_execute_data *execute_data = generator->execute_data; in zend_generator_close() local
141 generator->execute_data = NULL; in zend_generator_close()
159 generator->execute_data = NULL; in zend_generator_close()
176 efree(execute_data); in zend_generator_close()
390 zend_execute_data *execute_data = generator->execute_data; in zend_generator_frame_gc() local
419 zend_execute_data *execute_data = generator->execute_data; in zend_generator_get_gc() local
421 if (!execute_data) { in zend_generator_get_gc()
577 if (root->execute_data) { in get_new_root()
[all …]
H A Dzend_observer.h36 #define ZEND_OBSERVER_FCALL_BEGIN(execute_data) do { \ argument
38 zend_observer_fcall_begin(execute_data); \
42 #define ZEND_OBSERVER_FCALL_END(execute_data, return_value) do { \ argument
44 zend_observer_fcall_end(execute_data, return_value); \
48 typedef void (*zend_observer_fcall_begin_handler)(zend_execute_data *execute_data);
49 typedef void (*zend_observer_fcall_end_handler)(zend_execute_data *execute_data, zval *retval);
57 typedef zend_observer_fcall_handlers (*zend_observer_fcall_init)(zend_execute_data *execute_data);
75 zend_execute_data *execute_data);
78 zend_execute_data *execute_data);
81 zend_execute_data *execute_data,
H A Dzend_dtrace.h33 ZEND_API extern void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data, zval *return_…
36 ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data);
37 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value);
H A Dzend_dtrace.c27 ZEND_API void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data, zval *return_value);
55 ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data) in dtrace_execute_ex() argument
81 execute_ex(execute_data); in dtrace_execute_ex()
92 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value) in dtrace_execute_internal() argument
105 execute_internal(execute_data, return_value); in dtrace_execute_internal()
H A Dzend_vm_execute.skl44 zend_execute_data *execute_data;
59 execute_data = zend_vm_stack_push_call_frame(call_info,
62 execute_data->symbol_table = zend_rebuild_symbol_table();
64 execute_data->symbol_table = &EG(symbol_table);
67 i_init_code_execute_data(execute_data, op_array, return_value);
68 ZEND_OBSERVER_FCALL_BEGIN(execute_data);
69 zend_{%EXECUTOR_NAME%}_ex(execute_data);
71 zend_vm_stack_free_call_frame(execute_data);
H A Dzend_vm_trace_lines.h21 #define VM_TRACE(op) zend_vm_trace(execute_data, opline);
27 static void zend_vm_trace(const zend_execute_data *execute_data, const zend_op *opline) in zend_vm_trace() argument
H A Dzend_generators.h60 zend_execute_data *execute_data; member
104 ZEND_API zend_execute_data* zend_generator_freeze_call_stack(zend_execute_data *execute_data);
123 if (EXPECTED(root->execute_data)) { in zend_generator_get_current()
H A Dzend_execute.h33 ZEND_API extern void (*zend_execute_ex)(zend_execute_data *execute_data);
34 ZEND_API extern void (*zend_execute_internal)(zend_execute_data *execute_data, zval *return_value);
44 ZEND_API void zend_init_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval…
45 ZEND_API void zend_init_func_execute_data(zend_execute_data *execute_data, zend_op_array *op_array,…
46 ZEND_API void zend_init_code_execute_data(zend_execute_data *execute_data, zend_op_array *op_array,…
48 ZEND_API void execute_ex(zend_execute_data *execute_data);
49 ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
63 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error(zend_execute_data *execute_data);
412 …r(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data);
415 ZEND_API void ZEND_FASTCALL zend_free_compiled_variables(zend_execute_data *execute_data);
[all …]
H A Dzend_execute_API.c1804 zend_op_array *op_array = &execute_data->func->op_array; in zend_attach_symbol_table()
1805 HashTable *ht = execute_data->symbol_table; in zend_attach_symbol_table()
1839 zend_op_array *op_array = &execute_data->func->op_array; in zend_detach_symbol_table()
1840 HashTable *ht = execute_data->symbol_table; in zend_detach_symbol_table()
1866 while (execute_data && (!execute_data->func || !ZEND_USER_CODE(execute_data->func->common.type))) { in zend_set_local_var()
1867 execute_data = execute_data->prev_execute_data; in zend_set_local_var()
1870 if (execute_data) { in zend_set_local_var()
1873 zend_op_array *op_array = &execute_data->func->op_array; in zend_set_local_var()
1909 while (execute_data && (!execute_data->func || !ZEND_USER_CODE(execute_data->func->common.type))) { in zend_set_local_var_str()
1910 execute_data = execute_data->prev_execute_data; in zend_set_local_var_str()
[all …]
/PHP-8.3/ext/zend_test/
H A Dobserver.c79 assert_observer_opline(execute_data); in observer_begin()
85 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin()
86 if (execute_data->func->common.scope) { in observer_begin()
95 observer_show_opcode(execute_data); in observer_begin()
124 assert_observer_opline(execute_data); in observer_end()
133 observer_show_opcode(execute_data); in observer_end()
135 if (execute_data->func && execute_data->func->common.function_name) { in observer_end()
138 if (execute_data->func->common.scope) { in observer_end()
164 zend_execute_data *ex = execute_data; in observer_show_init_backtrace()
189 zend_function *fbc = execute_data->func; in observer_fcall_init()
[all …]
H A Dfiber.c79 zend_execute_data *execute_data; in zend_test_fiber_execute() local
91 execute_data = (zend_execute_data *) stack->top; in zend_test_fiber_execute()
93 memset(execute_data, 0, sizeof(zend_execute_data)); in zend_test_fiber_execute()
94 execute_data->func = (zend_function *) &zend_pass_function; in zend_test_fiber_execute()
96 EG(current_execute_data) = execute_data; in zend_test_fiber_execute()
H A Dtest.c636 static bool has_opline(zend_execute_data *execute_data) in has_opline() argument
638 return execute_data in has_opline()
639 && execute_data->func in has_opline()
640 && ZEND_USER_CODE(execute_data->func->type) in has_opline()
641 && execute_data->opline in has_opline()
883 object_init_ex(return_value, zend_get_called_scope(execute_data)); in ZEND_METHOD()
914 object_init_ex(return_value, zend_get_called_scope(execute_data)); in ZEND_METHOD()
1083 void (*old_zend_execute_ex)(zend_execute_data *execute_data);
1084 static void custom_zend_execute_ex(zend_execute_data *execute_data) in custom_zend_execute_ex() argument
1086 old_zend_execute_ex(execute_data); in custom_zend_execute_ex()
[all …]
/PHP-8.3/sapi/fuzzer/
H A Dfuzzer-execute-common.h51 static void (*orig_execute_ex)(zend_execute_data *execute_data);
53 static void fuzzer_execute_ex(zend_execute_data *execute_data) { in fuzzer_execute_ex() argument
57 if ((ret = ((opcode_handler_t) EX(opline)->handler)(execute_data)) != 0) { in fuzzer_execute_ex()
59 execute_data = EG(current_execute_data); in fuzzer_execute_ex()
80 static void (*orig_execute_internal)(zend_execute_data *execute_data, zval *return_value);
82 static void fuzzer_execute_internal(zend_execute_data *execute_data, zval *return_value) { in fuzzer_execute_internal() argument
85 uint32_t num_args = ZEND_CALL_NUM_ARGS(execute_data); in fuzzer_execute_internal()
89 zval *arg = ZEND_CALL_VAR_NUM(execute_data, i); in fuzzer_execute_internal()
95 orig_execute_internal(execute_data, return_value); in fuzzer_execute_internal()
H A Dfuzzer-sapi.c212 static zend_execute_data execute_data; in fuzzer_setup_dummy_frame() local
215 memset(&execute_data, 0, sizeof(zend_execute_data)); in fuzzer_setup_dummy_frame()
220 execute_data.func = &func; in fuzzer_setup_dummy_frame()
221 EG(current_execute_data) = &execute_data; in fuzzer_setup_dummy_frame()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_frame.c107 if (PHPDBG_FRAME(generator)->execute_data->call) { in phpdbg_restore_frame()
116 EG(current_execute_data) = PHPDBG_FRAME(execute_data); in phpdbg_restore_frame()
121 …zend_execute_data *execute_data = PHPDBG_FRAME(num) ? PHPDBG_FRAME(execute_data) : EG(current_exec… in phpdbg_switch_frame() local
130 while (execute_data) { in phpdbg_switch_frame()
136 execute_data = execute_data->prev_execute_data; in phpdbg_switch_frame()
137 } while (execute_data && execute_data->opline == NULL); in phpdbg_switch_frame()
144 if (execute_data == NULL) { in phpdbg_switch_frame()
156 EG(current_execute_data) = 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()
[all …]
H A Dphpdbg_print.h40 void phpdbg_print_opline(zend_execute_data *execute_data, bool ignore_flags);
H A Dphpdbg_prompt.c1037 if (gen->execute_data) { in PHPDBG_COMMAND()
1054 if (gen->execute_data) { in PHPDBG_COMMAND()
1679 phpdbg_print_opline(execute_data, 0); in phpdbg_execute_ex()
1685 zend_execute_data *prev_ex = execute_data; in phpdbg_execute_ex()
1723 phpdbg_print_opline(execute_data, 0); in phpdbg_execute_ex()
1730 if (PHPDBG_G(seek_ex) != execute_data) { in phpdbg_execute_ex()
1795 && (brake = phpdbg_find_breakpoint(execute_data)) in phpdbg_execute_ex()
1812 PHPDBG_G(last_line) = execute_data->opline->lineno; in phpdbg_execute_ex()
1815 if ((execute_data->opline->opcode == ZEND_DO_FCALL || in phpdbg_execute_ex()
1816 execute_data->opline->opcode == ZEND_DO_UCALL || in phpdbg_execute_ex()
[all …]
H A Dphpdbg_bp.c588 zend_execute_data *execute_data = EG(current_execute_data); in phpdbg_resolve_opline_break() local
590 if (ZEND_USER_CODE(execute_data->func->common.type)) { in phpdbg_resolve_opline_break()
591 zend_op_array *op_array = &execute_data->func->op_array; in phpdbg_resolve_opline_break()
600 } while ((execute_data = execute_data->prev_execute_data) != NULL); in phpdbg_resolve_opline_break()
1025 zend_function *function = execute_data->func; in phpdbg_find_breakpoint_param()
1044 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param()
1085 return ((zend_ulong)(phpdbg_opline_ptr_t)execute_data->opline == param->addr); in phpdbg_find_breakpoint_param()
1111 if (!phpdbg_find_breakpoint_param(&bp->param, execute_data)) { in phpdbg_find_conditional_breakpoint()
1153 (base = phpdbg_find_conditional_breakpoint(execute_data))) { in phpdbg_find_breakpoint()
1162 zend_op_array *op_array = &execute_data->func->op_array; in phpdbg_find_breakpoint()
[all …]
H A Dphpdbg_prompt.h66 void phpdbg_execute_ex(zend_execute_data *execute_data);
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_php_trace.c43 long execute_data; in fpm_php_trace_dump() local
69 execute_data = l; in fpm_php_trace_dump()
71 while (execute_data) { in fpm_php_trace_dump()
78 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
93 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, This.u1.type_info), &l)) { in fpm_php_trace_dump()
114 fprintf(slowlog, "[0x%" PTR_FMT "lx] ", execute_data); in fpm_php_trace_dump()
120 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, prev_execute_data), &l)) { in fpm_php_trace_dump()
124 execute_data = prev = l; in fpm_php_trace_dump()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c64 OBJ_RELEASE(Z_OBJ(execute_data->This)); in zend_jit_leave_nested_func_helper()
72 old_execute_data = execute_data; in zend_jit_leave_nested_func_helper()
73 execute_data = EX(prev_execute_data); in zend_jit_leave_nested_func_helper()
109 execute_data = EG(current_execute_data); in zend_jit_leave_top_func_helper()
614 execute_data = ex;
618 zend_execute_data *execute_data = ex; local
640 execute_data = save_execute_data;
650 execute_data = save_execute_data;
661 execute_data = save_execute_data;
1043 prev_execute_data = execute_data;
[all …]
H A Dzend_jit_helpers.c372 zend_execute_data *execute_data; in zend_jit_fetch_dim_r_helper() local
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()
514 zend_execute_data *execute_data; in zend_jit_fetch_dim_is_helper() local
534 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()
760 zend_execute_data *execute_data; in zend_jit_fetch_dim_rw_helper() local
775 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()
[all …]
/PHP-8.3/win32/
H A Dsignal.c27 static void (*orig_interrupt_function)(zend_execute_data *execute_data);
29 static void php_win32_signal_ctrl_interrupt_function(zend_execute_data *execute_data) in php_win32_signal_ctrl_interrupt_function() argument
42 orig_interrupt_function(execute_data); in php_win32_signal_ctrl_interrupt_function()
/PHP-8.3/Zend/tests/
H A Dstrlen.phpt2 Fixed execute_data corruption with __toString()

Completed in 95 milliseconds

123