Lines Matching refs:printf
149 printf("===================================UBSAN error===================================\n"); in ubsan_report_start()
150 printf("ubsan: %s in %s:%d:%d\n", description, location->filename, location->line, in ubsan_report_start()
167 printf("=================================================================================\n"); in ubsan_report_end()
175 printf("%s null pointer of type %sn", type_check_kinds[data->type_check_kind], in do_ubsan_type_mismatch_nullptr()
183 printf("%s unaligned pointer %p of type %s (alignment %zu)\n", in do_ubsan_type_mismatch_unaligned()
192 printf("%s address %p with insuficient space for type %s\n", in do_ubsan_type_mismatch_objsize()
245 printf("ptr operation overflowed %p to %p\n", (void *) Base, (void *) Result); in __ubsan_handle_pointer_overflow()
284 printf("Passed 0 to %s\n", builtin_func); in __ubsan_handle_invalid_builtin()
287 printf("Invalid builtin error (Kind %u)\n", data->kind); in __ubsan_handle_invalid_builtin()
317 printf("%s integer overflow: %s %s %s can't be represented in type %s", in ubsan_handle_integer_overflow()
343 printf("Negation of %s cannot be represented in type %s\n", v.to_string().c_str(), in __ubsan_handle_negate_overflow()
362 printf("division of %s by -1 cannot be represented in type %s\n", lhsv.to_string().c_str(), in __ubsan_handle_divrem_overflow()
368 printf("division of %s by zero\n", lhsv.to_string().c_str()); in __ubsan_handle_divrem_overflow()
396 printf("shift exponent %zd is negative\n", rhs); in ubsan_handle_shift_out_of_bounds()
400 printf("shift exponent %zu is too large for %zu-bit type %s\n", rhs, in ubsan_handle_shift_out_of_bounds()
407 printf("left shift of negative type %s\n", lhs_t->typename_); in ubsan_handle_shift_out_of_bounds()
412 printf("left shift of %s by %zu places cannot be represented in type %s\n", in ubsan_handle_shift_out_of_bounds()
443 printf("index %s out of range for type %s (%zx)\n", v.to_string().c_str(), in ubsan_handle_out_of_bounds()
481 printf("null pointer passed as argument %d, specified non-null\n", data->arg_index); in __ubsan_handle_nonnull_arg()
500 printf("Returning a null pointer from function declared to never return null\n"); in __ubsan_handle_nonnull_return()
530 printf("load of value %s, which is not a valid value for type %s\n", v.to_string().c_str(), in __ubsan_handle_load_invalid_value()
550 printf("vla bound not positive (%zd)\n", val); in __ubsan_handle_vla_bound_not_positive()