incubator-nuttx/mm/mm_heap
yinshengkai c158ed2c32 mm/heap: memory alignment before executing kasan_register
The unaligned address is used in kasan_register, but the aligned address is used in kasan_unregister.
The mismatch between the addr value and mm_heapstart will result in a crash due to the inability to unregister correctly.

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-10-10 23:11:37 +08:00
..
CMakeLists.txt mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
Make.defs mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm.h mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_addfreechunk.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_brkaddr.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_calloc.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_checkcorruption.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_extend.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_foreach.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_free.c mm/heap: fix heap crash when use KASAN SW_TAG 2024-10-09 18:15:13 +08:00
mm_heapmember.c kasan: Implementation of Kasan based on software tags. 2024-09-19 03:15:29 +08:00
mm_initialize.c mm/heap: memory alignment before executing kasan_register 2024-10-10 23:11:37 +08:00
mm_lock.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_mallinfo.c mm/dump: make macro more common, fix help prompt 2024-10-08 23:55:59 +08:00
mm_malloc.c drivers/segger: add heap data plot 2024-10-07 17:34:59 +08:00
mm_malloc_size.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_memalign.c mm/heap: fix heap crash when use KASAN SW_TAG 2024-10-09 18:15:13 +08:00
mm_memdump.c mm/dump: pretty the log and thin dump call 2024-10-08 23:55:59 +08:00
mm_realloc.c mm/heap: fix heap crash when use KASAN SW_TAG 2024-10-09 18:15:13 +08:00
mm_shrinkchunk.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_size2ndx.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_zalloc.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00