incubator-nuttx/mm
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
..
bin mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
iob mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
kasan mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
kbin mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
kmap mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
kmm_heap mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
map mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mempool mm/mempool: Merge two memory requests 2024-10-09 18:15:13 +08:00
mm_gran mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_heap mm/heap: memory alignment before executing kasan_register 2024-10-10 23:11:37 +08:00
shm shm: The limits have been made in Make.defs and remove useless macro in code 2024-09-18 13:42:11 +08:00
tlsf mm/dump: pretty the log and thin dump call 2024-10-08 23:55:59 +08:00
ubsan mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_heap mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
CMakeLists.txt mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
Kconfig memdump: add biggest allocated node dump 2024-10-08 23:55:59 +08:00
Makefile circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00