Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:handle_misaligned_access

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

Type:void

Parameter:

TypeParameterName
struct type_mismatch_data_common *data
unsigned longptr
268  If suppress_report(location) Then Return
271  ubsan_prologue(location)
273  pr_err("%s misaligned address %p for type %s\n", type_check_kinds[type_check_kind], (void * )ptr, type_name)
276  pr_err("which requires %ld byte alignment\n", alignment)
278  ubsan_epilogue()
Caller
NameDescribe
ubsan_type_mismatch_common