Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\ubsan.c Create Date:2022-07-28 07:22:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__ubsan_handle_divrem_overflow

Proto:void __ubsan_handle_divrem_overflow(struct overflow_data *data, void *lhs, void *rhs)

Type:void

Parameter:

TypeParameterName
struct overflow_data *data
void *lhs
void *rhs
234  If suppress_report( & location) Then Return
237  ubsan_prologue( & location)
239  val_to_string(rhs_val_str, size of rhs_val_str , type, rhs)
241  If type_is_signed(type) && get_signed_val(type, rhs) == -1 Then pr_err("division of %s by -1 cannot be represented in type %s\n", rhs_val_str, type_name)
244  Else pr_err("division by zero\n")
247  ubsan_epilogue()