Function report |
Source Code:lib\ubsan.c |
Create Date:2022-07-28 07:22:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_signed_val
Proto:static s_max get_signed_val(struct type_descriptor *type, void *val)
Type:s_max
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct type_descriptor * | type | |
| void * | val |
| 88 | If is_inline_int(type) Then |
| 89 | extra_bits = sizeof(s_max) * 8 - type_bit_width(type) |
| 92 | Return ulong_val << extra_bits >> extra_bits |
| 95 | If type_bit_width(type) == 64 Then Return val |
| 98 | Return val |
| Name | Describe |
|---|---|
| val_is_negative | |
| val_to_string | |
| __ubsan_handle_divrem_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 |