Lines Matching refs:call_info
51 zend_call_info *call_info; in zend_analyze_calls() local
58 call_info = NULL; in zend_analyze_calls()
65 call_stack[call] = call_info; in zend_analyze_calls()
69 …call_info = zend_arena_calloc(arena, 1, sizeof(zend_call_info) + (sizeof(zend_send_arg_info) * ((i… in zend_analyze_calls()
70 call_info->caller_op_array = op_array; in zend_analyze_calls()
71 call_info->caller_init_opline = opline; in zend_analyze_calls()
72 call_info->caller_call_opline = NULL; in zend_analyze_calls()
73 call_info->callee_func = func; in zend_analyze_calls()
74 call_info->num_args = opline->extended_value; in zend_analyze_calls()
75 call_info->next_callee = func_info->callee_info; in zend_analyze_calls()
76 call_info->is_prototype = is_prototype; in zend_analyze_calls()
77 call_info->is_frameless = false; in zend_analyze_calls()
78 func_info->callee_info = call_info; in zend_analyze_calls()
81 call_info->next_caller = NULL; in zend_analyze_calls()
84 call_info->next_caller = NULL; in zend_analyze_calls()
88 call_info->next_caller = callee_func_info->caller_info; in zend_analyze_calls()
89 callee_func_info->caller_info = call_info; in zend_analyze_calls()
91 call_info->next_caller = NULL; in zend_analyze_calls()
95 call_info = NULL; in zend_analyze_calls()
104 call_stack[call] = call_info; in zend_analyze_calls()
105 call_info = NULL; in zend_analyze_calls()
113 zend_call_info *call_info = zend_arena_calloc(arena, 1, sizeof(zend_call_info)); in zend_analyze_calls() local
114 call_info->caller_op_array = op_array; in zend_analyze_calls()
115 call_info->caller_init_opline = opline; in zend_analyze_calls()
116 call_info->caller_call_opline = NULL; in zend_analyze_calls()
117 call_info->callee_func = func; in zend_analyze_calls()
118 call_info->num_args = ZEND_FLF_NUM_ARGS(opline->opcode); in zend_analyze_calls()
119 call_info->next_callee = func_info->callee_info; in zend_analyze_calls()
120 call_info->is_prototype = false; in zend_analyze_calls()
121 call_info->is_frameless = true; in zend_analyze_calls()
122 call_info->next_caller = NULL; in zend_analyze_calls()
123 func_info->callee_info = call_info; in zend_analyze_calls()
132 if (call_info) { in zend_analyze_calls()
133 call_info->caller_call_opline = opline; in zend_analyze_calls()
136 call_info = call_stack[call]; in zend_analyze_calls()
147 if (call_info) { in zend_analyze_calls()
149 call_info->named_args = 1; in zend_analyze_calls()
157 call_info->arg_info[num].opline = opline; in zend_analyze_calls()
162 if (call_info) { in zend_analyze_calls()
163 call_info->send_unpack = 1; in zend_analyze_calls()
175 zend_call_info *call_info; in zend_is_indirectly_recursive() local
187 call_info = func_info->caller_info; in zend_is_indirectly_recursive()
188 while (call_info) { in zend_is_indirectly_recursive()
189 if (zend_is_indirectly_recursive(root, call_info->caller_op_array, visited)) { in zend_is_indirectly_recursive()
190 call_info->recursive = 1; in zend_is_indirectly_recursive()
193 call_info = call_info->next_caller; in zend_is_indirectly_recursive()
202 zend_call_info *call_info; in zend_analyze_recursion() local
212 call_info = func_info->caller_info; in zend_analyze_recursion()
213 for (; call_info; call_info = call_info->next_caller) { in zend_analyze_recursion()
214 if (call_info->is_prototype) { in zend_analyze_recursion()
218 if (call_info->caller_op_array == op_array) { in zend_analyze_recursion()
219 call_info->recursive = 1; in zend_analyze_recursion()
223 if (zend_is_indirectly_recursive(op_array, call_info->caller_op_array, visited)) { in zend_analyze_recursion()
224 call_info->recursive = 1; in zend_analyze_recursion()