nuttx/mm/kasan
leisiji 14e434c3f0 mm/kasan: Fix compile options applied to wrong target in SPLIT build
In SPLIT build mode, nuttx_add_kernel_library(mm SPLIT) creates two
targets: mm (system library) and kmm (kernel library). The compile
options were being applied to the mm target via
target_compile_options(mm ...), but the kasan instrumentation is
compiled as part of the kmm target.

Change target_compile_options(mm ...) to target_compile_options(kmm
...) so that FLAGS (including -fno-builtin and NO_LTO) are correctly
applied to the kernel target where kasan code is compiled.

Signed-off-by: leisiji <2265215145@qq.com>
2026-06-08 16:03:21 +08:00
..
CMakeLists.txt mm/kasan: Fix compile options applied to wrong target in SPLIT build 2026-06-08 16:03:21 +08:00
generic.c kasan: Fix assert judgment condition to correctly detect out-of-bounds causing trampling. 2025-07-01 09:04:03 -03:00
global.c mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
hook.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
hw_tags.c mte/kasan: Implementing KASAN memory protection for ARM64 hardware MTE 2025-06-30 18:19:38 +08:00
Kconfig kasan: Add configurable kasan initialization variable location 2025-06-30 18:19:38 +08:00
Make.defs kasan: Add configurable kasan initialization variable location 2025-06-30 18:19:38 +08:00
sw_tags.c kasan: Fix assert judgment condition to correctly detect out-of-bounds causing trampling. 2025-07-01 09:04:03 -03:00