Function report |
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 activity | Download SCCT | Chinese |
Name:__ubsan_handle_divrem_overflow
Proto:void __ubsan_handle_divrem_overflow(struct overflow_data *data, void *lhs, void *rhs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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() |
| 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 |