Function report |
Source Code:lib\ubsan.c |
Create Date:2022-07-28 07:22:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:handle_overflow
Proto:static void handle_overflow(struct overflow_data *data, void *lhs, void *rhs, char op)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct overflow_data * | data | |
void * | lhs | |
void * | rhs | |
char | op |
169 | If suppress_report( & location) Then Return |
172 | ubsan_prologue( & location) |
174 | val_to_string(lhs_val_str, size of lhs_val_str , type, lhs) |
175 | val_to_string(rhs_val_str, size of rhs_val_str , type, rhs) |
176 | pr_err("%s integer overflow:\n", type_is_signed(type) ? "signed" : "unsigned") |
178 | pr_err("%s %c %s cannot be represented in type %s\n", lhs_val_str, op, rhs_val_str, type_name) |
184 | ubsan_epilogue() |
Name | Describe |
---|---|
__ubsan_handle_add_overflow | |
__ubsan_handle_sub_overflow | |
__ubsan_handle_mul_overflow |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |