Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\ubsan.c Create Date:2022-07-28 07:22:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ubsan_type_mismatch_common

Proto:static void ubsan_type_mismatch_common(struct type_mismatch_data_common *data, unsigned long ptr)

Type:void

Parameter:

TypeParameterName
struct type_mismatch_data_common *data
unsigned longptr
298  flags = user_access_save()
300  If Not ptr Then handle_null_ptr_deref(data)
302  Else if alignment && Not IS_ALIGNED(ptr, alignment) Then handle_misaligned_access(data, ptr)
304  Else handle_object_size_mismatch(data, ptr)
307  user_access_restore(flags)
Caller
NameDescribe
__ubsan_handle_type_mismatch
__ubsan_handle_type_mismatch_v1