Function report |
Source Code:lib\test_overflow.c |
Create Date:2022-07-28 06:30:55 |
Last Modify:2022-05-18 10:03:51 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_test_s32
Proto:static int __attribute__((__section__(".init.text"))) __attribute__((__cold__))do_test_s32(const struct test_s32 *p)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct test_s32 * | p |
268 | err = 0 |
268 | Do |
268 | _of = ({ |
268 | __builtin_add_overflow(__a, __b, __d) |
268 | }) |
268 | When 0 cycle |
268 | Do |
268 | _of = ({ |
268 | __builtin_add_overflow(__a, __b, __d) |
268 | }) |
268 | When 0 cycle |
268 | Do |
268 | _of = ({ |
268 | __builtin_sub_overflow(__a, __b, __d) |
268 | }) |
268 | When 0 cycle |
268 | Do |
268 | _of = ({ |
268 | __builtin_mul_overflow(__a, __b, __d) |
268 | }) |
268 | When 0 cycle |
268 | Do |
268 | _of = ({ |
268 | __builtin_mul_overflow(__a, __b, __d) |
268 | }) |
268 | When 0 cycle |
268 | Return err |
Name | Describe |
---|---|
test_s32_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 |