函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\ubsan.c Create Date:2022-07-27 08:21:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:handle_misaligned_access

函数原型:static void handle_misaligned_access(struct type_mismatch_data_common *data, unsigned long ptr)

返回类型:void

参数:

类型参数名称
struct type_mismatch_data_common *data
unsigned longptr
268  如果suppress_report(location)则返回
271  ubsan_prologue(location)
273  打印错误信息("%s misaligned address %p for type %s\n", type_check_kinds[type_check_kind], (void * )ptr, type_name)
276  打印错误信息("which requires %ld byte alignment\n", alignment)
278  ubsan_epilogue()
调用者
名称描述
ubsan_type_mismatch_common