mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
When CONFIG_BUILD_KERNEL is enabled, user-space and kernel-space have separate address spaces. User-space addresses passed via syscalls (e.g., open) are registered by KASAN but should not be monitored, as they are not kernel heap allocations. This causes KASAN to report false positives on user-space pointers accessed through system calls. Mark the user-space heap with nokasan=true so KASAN skips checking its address range, consistent with how rptun already handles this. Signed-off-by: leisiji <2265215145@qq.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| umm_addregion.c | ||
| umm_brkaddr.c | ||
| umm_calloc.c | ||
| umm_checkcorruption.c | ||
| umm_extend.c | ||
| umm_free.c | ||
| umm_globals.c | ||
| umm_heap.h | ||
| umm_heapmember.c | ||
| umm_initialize.c | ||
| umm_mallinfo.c | ||
| umm_malloc.c | ||
| umm_malloc_size.c | ||
| umm_memalign.c | ||
| umm_memdump.c | ||
| umm_realloc.c | ||
| umm_sbrk.c | ||
| umm_zalloc.c | ||