Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - U index
The Linux kernel configuration item CONFIG_UBSAN_LOCAL_BOUNDS
has multiple definitions:
lib/Kconfig.ubsan
The configuration item CONFIG_UBSAN_LOCAL_BOUNDS:
(none)
This option enables Clang's -fsanitize=local-bounds which traps when an access through a pointer that is derived from an object of a statically-known size, where an added offset (which may not be known statically) is out-of-bounds. Since this option is trap-only, it depends on UBSAN_TRAP.
lib/Kconfig.ubsan
The configuration item CONFIG_UBSAN_LOCAL_BOUNDS:
( CONFIG_UBSAN_TRAP ) && ($( CONFIG_cc-option,-fsanitize = CONFIG_local-bounds ))
This option enables -fsanitize=local-bounds which traps when an exception/error is detected. Therefore, it may only be enabled with UBSAN_TRAP.
Enabling this option detects errors due to accesses through a pointer that is derived from an object of a statically-known size, where an added offset (which may not be known statically) is out-of-bounds.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - U index
Automatically generated (in year 2024). See also LKDDb sources on GitLab