Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:get_signed_val

Proto:static s_max get_signed_val(struct type_descriptor *type, void *val)

Type:s_max

Parameter:

TypeParameterName
struct type_descriptor *type
void *val
88  If is_inline_int(type) Then
89  extra_bits = sizeof(s_max) * 8 - type_bit_width(type)
90  ulong_val = val
92  Return ulong_val << extra_bits >> extra_bits
95  If type_bit_width(type) == 64 Then Return val
98  Return val
Caller
NameDescribe
val_is_negative
val_to_string
__ubsan_handle_divrem_overflow