Home
last modified time | relevance | path

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

12

/PHP-7.2/Zend/
H A Dzend_generators.c92 execute_data->call = NULL; in zend_generator_freeze_call_stack()
102 if (execute_data->opline != execute_data->func->op_array.opcodes) { in zend_generator_cleanup_unfinished_execution()
104 uint32_t op_num = execute_data->opline - execute_data->func->op_array.opcodes - 1; in zend_generator_cleanup_unfinished_execution()
109 generator->execute_data = execute_data; in zend_generator_cleanup_unfinished_execution()
121 zend_execute_data *execute_data = generator->execute_data; in zend_generator_close() local
124 generator->execute_data = NULL; in zend_generator_close()
162 efree(execute_data); in zend_generator_close()
266 if (generator->execute_data) { in calc_gc_buffer_size()
267 zend_execute_data *execute_data = generator->execute_data; in calc_gc_buffer_size() local
316 zend_execute_data *execute_data = generator->execute_data; in zend_generator_get_gc() local
[all …]
H A Dzend_vm_execute.skl26 zend_execute_data *execute_data;
32 execute_data = zend_vm_stack_push_call_frame(ZEND_CALL_TOP_CODE | ZEND_CALL_HAS_SYMBOL_TABLE,
35 execute_data->symbol_table = zend_rebuild_symbol_table();
37 execute_data->symbol_table = &EG(symbol_table);
40 i_init_code_execute_data(execute_data, op_array, return_value);
41 zend_{%EXECUTOR_NAME%}_ex(execute_data);
42 zend_vm_stack_free_call_frame(execute_data);
H A Dzend_dtrace.h35 ZEND_API extern void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data, zval *return_…
38 ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data);
39 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value);
H A Dzend_dtrace.c29 ZEND_API void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data, zval *return_value);
57 ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data) in dtrace_execute_ex() argument
83 execute_ex(execute_data); in dtrace_execute_ex()
94 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value) in dtrace_execute_internal() argument
107 execute_internal(execute_data, return_value); in dtrace_execute_internal()
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);
39 ZEND_API void zend_init_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval…
40 ZEND_API void zend_init_func_execute_data(zend_execute_data *execute_data, zend_op_array *op_array,…
41 ZEND_API void zend_init_code_execute_data(zend_execute_data *execute_data, zend_op_array *op_array,…
43 ZEND_API void execute_ex(zend_execute_data *execute_data);
44 ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
59 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error(zend_execute_data *execute_data);
321 …_zval_ptr(int op_type, const znode_op *node, const zend_execute_data *execute_data, zend_free_op *…
324 void zend_free_compiled_variables(zend_execute_data *execute_data);
[all …]
H A Dzend_generators.h63 zend_execute_data *execute_data; member
109 ZEND_API zend_execute_data* zend_generator_freeze_call_stack(zend_execute_data *execute_data);
128 if (EXPECTED(root->execute_data && root->node.parent == NULL)) { in zend_generator_get_current()
H A Dzend_execute_API.c1558 zend_op_array *op_array = &execute_data->func->op_array; in zend_attach_symbol_table()
1559 HashTable *ht = execute_data->symbol_table; in zend_attach_symbol_table()
1593 zend_op_array *op_array = &execute_data->func->op_array; in zend_detach_symbol_table()
1594 HashTable *ht = execute_data->symbol_table; in zend_detach_symbol_table()
1620 while (execute_data && (!execute_data->func || !ZEND_USER_CODE(execute_data->func->common.type))) { in zend_set_local_var()
1621 execute_data = execute_data->prev_execute_data; in zend_set_local_var()
1624 if (execute_data) { in zend_set_local_var()
1627 zend_op_array *op_array = &execute_data->func->op_array; in zend_set_local_var()
1662 while (execute_data && (!execute_data->func || !ZEND_USER_CODE(execute_data->func->common.type))) { in zend_set_local_var_str()
1663 execute_data = execute_data->prev_execute_data; in zend_set_local_var_str()
[all …]
H A Dzend_compile.h141 typedef int (*user_opcode_handler_t) (zend_execute_data *execute_data);
530 #define EX(element) ((execute_data)->element)
532 #define EX_CALL_INFO() ZEND_CALL_INFO(execute_data)
533 #define EX_CALL_KIND() ZEND_CALL_KIND(execute_data)
534 #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data)
540 ZEND_CALL_USES_STRICT_TYPES(execute_data)
550 #define EX_VAR(n) ZEND_CALL_VAR(execute_data, n)
551 #define EX_VAR_NUM(n) ZEND_CALL_VAR_NUM(execute_data, n)
H A Dzend_execute.c74 # define EXECUTE_DATA_D zend_execute_data* execute_data
75 # define EXECUTE_DATA_C execute_data
2083 execute_data->func->internal_function.handler(execute_data, return_value); in execute_internal()
2120 i_free_compiled_variables(execute_data); in zend_free_compiled_variables()
2217 EG(current_execute_data) = execute_data; in i_init_func_execute_data()
2237 zend_attach_symbol_table(execute_data); in i_init_code_execute_data()
2246 EG(current_execute_data) = execute_data; in i_init_code_execute_data()
2257 i_init_func_execute_data(execute_data, op_array, return_value); in zend_init_func_execute_data()
2268 i_init_code_execute_data(execute_data, op_array, return_value); in zend_init_code_execute_data()
2529 cleanup_unfinished_calls(execute_data, op_num); in zend_cleanup_unfinished_execution()
[all …]
H A Dzend_exceptions.h73 static zend_always_inline void zend_rethrow_exception(zend_execute_data *execute_data) in zend_rethrow_exception() argument
H A Dzend.h47 #define INTERNAL_FUNCTION_PARAMETERS zend_execute_data *execute_data, zval *return_value
48 #define INTERNAL_FUNCTION_PARAM_PASSTHRU execute_data, return_value
265 extern ZEND_API void (*zend_interrupt_function)(zend_execute_data *execute_data);
H A Dzend_vm_def.h2387 execute_data = EX(prev_execute_data);
2390 zend_rethrow_exception(execute_data);
2423 old_execute_data = execute_data;
2424 execute_data = EX(prev_execute_data);
2428 zend_rethrow_exception(execute_data);
2438 old_execute_data = execute_data;
3510 zend_rethrow_exception(execute_data);
3611 zend_rethrow_exception(execute_data);
3735 zend_rethrow_exception(execute_data);
4661 zend_missing_arg_error(execute_data);
[all …]
H A Dzend_closures.c52 zval *arguments = ZEND_CALL_ARG(execute_data, 1); in ZEND_METHOD()
62 execute_data->func = NULL; in ZEND_METHOD()
322 EG(current_execute_data) = execute_data; in ZEND_METHOD()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_frame.c109 if (PHPDBG_FRAME(generator)->execute_data->call) { in phpdbg_restore_frame()
118 EG(current_execute_data) = PHPDBG_FRAME(execute_data); in phpdbg_restore_frame()
123 …zend_execute_data *execute_data = PHPDBG_FRAME(num) ? PHPDBG_FRAME(execute_data) : EG(current_exec… in phpdbg_switch_frame() local
132 while (execute_data) { in phpdbg_switch_frame()
138 execute_data = execute_data->prev_execute_data; in phpdbg_switch_frame()
139 } while (execute_data && execute_data->opline == NULL); in phpdbg_switch_frame()
146 if (execute_data == NULL) { in phpdbg_switch_frame()
158 EG(current_execute_data) = execute_data; in phpdbg_switch_frame()
326 if (EG(current_execute_data) == gen->execute_data) { in phpdbg_open_generator_frame()
335 EG(current_execute_data) = gen->execute_data; in phpdbg_open_generator_frame()
[all …]
H A Dphpdbg_opcode.c144 void phpdbg_print_opline_ex(zend_execute_data *execute_data, zend_bool ignore_flags) /* {{{ */ in phpdbg_print_opline_ex() argument
152 zend_op *opline = (zend_op *) execute_data->opline; in phpdbg_print_opline_ex()
153 char *decode = phpdbg_decode_opline(&execute_data->func->op_array, opline); in phpdbg_print_opline_ex()
161execute_data->func->op_array.filename ? ZSTR_VAL(execute_data->func->op_array.filename) : "unknown… in phpdbg_print_opline_ex()
169execute_data->func->op_array.filename ? ZSTR_VAL(execute_data->func->op_array.filename) : "unknown… in phpdbg_print_opline_ex()
177 zend_op_array *op_array = &execute_data->func->op_array; in phpdbg_print_opline_ex()
178 cur->op = (zend_op *) execute_data->opline; in phpdbg_print_opline_ex()
189 void phpdbg_print_opline(zend_execute_data *execute_data, zend_bool ignore_flags) /* {{{ */ in phpdbg_print_opline() argument
191 phpdbg_print_opline_ex(execute_data, ignore_flags); in phpdbg_print_opline()
H A Dphpdbg_opcode.h27 void phpdbg_print_opline(zend_execute_data *execute_data, zend_bool ignore_flags);
28 void phpdbg_print_opline_ex(zend_execute_data *execute_data, zend_bool ignore_flags);
H A Dphpdbg_prompt.c1106 if (gen->execute_data) { in PHPDBG_COMMAND()
1123 if (gen->execute_data) { in PHPDBG_COMMAND()
1757 phpdbg_print_opline_ex(execute_data, 0); in phpdbg_execute_ex()
1763 zend_execute_data *prev_ex = execute_data; in phpdbg_execute_ex()
1806 phpdbg_print_opline_ex(execute_data, 0); in phpdbg_execute_ex()
1813 if (PHPDBG_G(seek_ex) != execute_data) { in phpdbg_execute_ex()
1878 && (brake = phpdbg_find_breakpoint(execute_data)) in phpdbg_execute_ex()
1895 PHPDBG_G(last_line) = execute_data->opline->lineno; in phpdbg_execute_ex()
1898 if ((execute_data->opline->opcode == ZEND_DO_FCALL || in phpdbg_execute_ex()
1899 execute_data->opline->opcode == ZEND_DO_UCALL || in phpdbg_execute_ex()
[all …]
H A Dphpdbg_bp.c591 zend_execute_data *execute_data = EG(current_execute_data); in phpdbg_resolve_opline_break() local
593 if (ZEND_USER_CODE(execute_data->func->common.type)) { in phpdbg_resolve_opline_break()
594 zend_op_array *op_array = &execute_data->func->op_array; in phpdbg_resolve_opline_break()
603 } while ((execute_data = execute_data->prev_execute_data) != NULL); in phpdbg_resolve_opline_break()
1032 zend_function *function = execute_data->func; in phpdbg_find_breakpoint_param()
1051 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param()
1092 return ((zend_ulong)(phpdbg_opline_ptr_t)execute_data->opline == param->addr); in phpdbg_find_breakpoint_param()
1118 if (!phpdbg_find_breakpoint_param(&bp->param, execute_data)) { in phpdbg_find_conditional_breakpoint()
1160 (base = phpdbg_find_conditional_breakpoint(execute_data))) { in phpdbg_find_breakpoint()
1169 zend_op_array *op_array = &execute_data->func->op_array; in phpdbg_find_breakpoint()
[all …]
H A Dphpdbg_prompt.h69 void phpdbg_execute_ex(zend_execute_data *execute_data);
H A Dphpdbg_utils.c741 PHPDBG_API zend_bool phpdbg_check_caught_ex(zend_execute_data *execute_data, zend_object *exception… in phpdbg_check_caught_ex() argument
745 zend_op_array *op_array = &execute_data->func->op_array; in phpdbg_check_caught_ex()
747 if (execute_data->opline >= EG(exception_op) && execute_data->opline < EG(exception_op) + 3) { in phpdbg_check_caught_ex()
750 op = execute_data->opline; in phpdbg_check_caught_ex()
H A Dphpdbg_cmd.h118 zend_execute_data *execute_data; member
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_php_trace.c49 long execute_data; in fpm_php_trace_dump() local
75 execute_data = l; in fpm_php_trace_dump()
77 while (execute_data) { in fpm_php_trace_dump()
84 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
99 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, This.u1.type_info), &l)) { in fpm_php_trace_dump()
120 fprintf(slowlog, "[0x%" PTR_FMT "lx] ", execute_data); in fpm_php_trace_dump()
126 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, prev_execute_data), &l)) { in fpm_php_trace_dump()
130 execute_data = prev = l; in fpm_php_trace_dump()
/PHP-7.2/ext/standard/
H A Dformatted_print.c386 php_formatted_print(zend_execute_data *execute_data, int use_array, int format_offset) in php_formatted_print() argument
666 if ((result=php_formatted_print(execute_data, 0, 0))==NULL) { in PHP_FUNCTION()
679 if ((result=php_formatted_print(execute_data, 1, 0))==NULL) { in PHP_FUNCTION()
693 if ((result=php_formatted_print(execute_data, 0, 0))==NULL) { in PHP_FUNCTION()
709 if ((result=php_formatted_print(execute_data, 1, 0))==NULL) { in PHP_FUNCTION()
737 if ((result=php_formatted_print(execute_data, 0, 1))==NULL) { in PHP_FUNCTION()
767 if ((result=php_formatted_print(execute_data, 1, 1))==NULL) { in PHP_FUNCTION()
/PHP-7.2/Zend/tests/
H A Dstrlen.phpt2 Fixed execute_data corruption with __toString()
/PHP-7.2/ext/opcache/Optimizer/
H A Dsccp.c588 zend_execute_data *execute_data, *prev_execute_data; in ct_eval_func_call() local
841 execute_data = safe_emalloc(num_args, sizeof(zval), ZEND_CALL_FRAME_SLOT * sizeof(zval)); in ct_eval_func_call()
842 memset(execute_data, 0, sizeof(zend_execute_data)); in ct_eval_func_call()
844 EG(current_execute_data) = execute_data; in ct_eval_func_call()
851 func->internal_function.handler(execute_data, result); in ct_eval_func_call()
855 efree(execute_data); in ct_eval_func_call()

Completed in 113 milliseconds

12