Lines Matching refs:opline

468 PHPDBG_API void phpdbg_set_breakpoint_opline(zend_ulong opline) /* {{{ */  in phpdbg_set_breakpoint_opline()  argument
470 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline)) { in phpdbg_set_breakpoint_opline()
477 new_break.opline = opline; in phpdbg_set_breakpoint_opline()
480 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline, &new_break, sizeof(phpdbg_b… in phpdbg_set_breakpoint_opline()
482 …cess\" id=\"%d\" opline=\"%#lx\"", "Breakpoint #%d added at %#lx", new_break.id, new_break.opline); in phpdbg_set_breakpoint_opline()
485 …"breakpoint", "type=\"exists\" add=\"fail\" opline=\"%#lx\"", "Breakpoint exists at %#lx", opline); in phpdbg_set_breakpoint_opline()
507 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num); in phpdbg_resolve_op_array_break()
520 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline_break.opline, &opline_break,… in phpdbg_resolve_op_array_break()
556 opline_break->opline); in phpdbg_resolve_op_array_breaks()
628 …bg_set_breakpoint_method_opline(const char *class, const char *method, zend_ulong opline) /* {{{ */ in phpdbg_set_breakpoint_method_opline() argument
639 new_break.opline_num = opline; in phpdbg_set_breakpoint_method_opline()
640 new_break.opline = 0; in phpdbg_set_breakpoint_method_opline()
644 …ng breakpoint #%d at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
648 …akpoint #%d added at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
665 if (zend_hash_index_exists(method_table, opline)) { in phpdbg_set_breakpoint_method_opline()
666 …"", "Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
677 zend_hash_index_update_mem(method_table, opline, &new_break, sizeof(phpdbg_breakopline_t)); in phpdbg_set_breakpoint_method_opline()
681 PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend_ulong opline) /* {… in phpdbg_set_breakpoint_function_opline() argument
691 new_break.opline_num = opline; in phpdbg_set_breakpoint_function_opline()
692 new_break.opline = 0; in phpdbg_set_breakpoint_function_opline()
696 …"%s\" num=\"%ld\"", "Pending breakpoint #%d at %s#%ld", new_break.id, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
700 …=\"%s\" num=\"%ld\"", "Breakpoint #%d added at %s#%ld", new_break.id, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
712 if (zend_hash_index_exists(func_table, opline)) { in phpdbg_set_breakpoint_function_opline()
713 …function=\"%s\" num=\"%ld\"", "Breakpoint already exists for %s#%ld", new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
723 zend_hash_index_update_mem(func_table, opline, &new_break, sizeof(phpdbg_breakopline_t)); in phpdbg_set_breakpoint_function_opline()
727 PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline) /* {{{ */ in phpdbg_set_breakpoint_file_opline() argument
737 new_break.opline_num = opline; in phpdbg_set_breakpoint_file_opline()
738 new_break.opline = 0; in phpdbg_set_breakpoint_file_opline()
742 …%s\" num=\"%ld\"", "Pending breakpoint #%d at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
746 …\"%s\" num=\"%ld\"", "Breakpoint #%d added at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
758 if (zend_hash_index_exists(file_table, opline)) { in phpdbg_set_breakpoint_file_opline()
759 …s\" file=\"%s\" num=\"%d\"", "Breakpoint already exists for %s:%ld", new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
769 zend_hash_index_update_mem(file_table, opline, &new_break, sizeof(phpdbg_breakopline_t)); in phpdbg_set_breakpoint_file_opline()
795 PHPDBG_API void phpdbg_set_breakpoint_opline_ex(phpdbg_opline_ptr_t opline) /* {{{ */ in phpdbg_set_breakpoint_opline_ex() argument
797 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) { in phpdbg_set_breakpoint_opline_ex()
803 new_break.opline = (zend_ulong) opline; in phpdbg_set_breakpoint_opline_ex()
806 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline, &new_break, si… in phpdbg_set_breakpoint_opline_ex()
808 …int", "id=\"%d\" opline=\"%#lx\"", "Breakpoint #%d added at %#lx", new_break.id, new_break.opline); in phpdbg_set_breakpoint_opline_ex()
811 …int", "type=\"exists\" opline=\"%#lx\"", "Breakpoint exists for opline %#lx", (zend_ulong) opline); in phpdbg_set_breakpoint_opline_ex()
912 …te_data) && (brake = zend_hash_index_find_ptr(breaks, EG(current_execute_data)->opline->lineno))) { in phpdbg_find_breakpoint_file()
965 static inline phpdbg_breakbase_t *phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t opline) /* {{{ … in phpdbg_find_breakpoint_opline() argument
969 …if ((brake = zend_hash_index_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) &&… in phpdbg_find_breakpoint_opline()
1008 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param()
1041 return param->type == METHOD_PARAM || (execute_data->opline - ops->opcodes) == param->num; in phpdbg_find_breakpoint_param()
1049 return ((zend_ulong)(phpdbg_opline_ptr_t)execute_data->opline == param->addr); in phpdbg_find_breakpoint_param()
1066 const zend_op *orig_opline = EG(current_execute_data)->opline; in phpdbg_find_conditional_breakpoint()
1093 EG(current_execute_data)->opline = orig_opline; in phpdbg_find_conditional_breakpoint()
1128 …if (execute_data->opline == op_array->opcodes + op_array->num_args + !!(op_array->fn_flags & ZEND_… in phpdbg_find_breakpoint()
1135 …OPLINE_BP) && (base = phpdbg_find_breakpoint_opline((phpdbg_opline_ptr_t) execute_data->opline))) { in phpdbg_find_breakpoint()
1139 … & PHPDBG_HAS_OPCODE_BP) && (base = phpdbg_find_breakpoint_opcode(execute_data->opline->opcode))) { in phpdbg_find_breakpoint()
1192 … zend_hash_index_del(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], ((phpdbg_breakopline_t *) brake)->opline); in phpdbg_delete_breakpoint()
1272 ((phpdbg_breakline_t*)brake)->opline, in phpdbg_print_breakpoint()
1500 brake->id, brake->opline, type, in phpdbg_print_breakpoints()
1506 brake->id, brake->opline, in phpdbg_print_breakpoints()