include/linux/ubsan.h

Source file repositories/reference/linux-study-clean/include/linux/ubsan.h

File Facts

System
Linux kernel
Corpus path
include/linux/ubsan.h
Extension
.h
Size
302 bytes
Lines
15
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LINUX_UBSAN_H
#define _LINUX_UBSAN_H

#if defined(CONFIG_UBSAN_TRAP) || defined(CONFIG_UBSAN_KVM_EL2)
const char *report_ubsan_failure(u32 check_type);
#else
static inline const char *report_ubsan_failure(u32 check_type)
{
	return NULL;
}
#endif

#endif

Annotation

Implementation Notes