mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 06:00:17 +00:00
When CONFIG_MM_UMM_CUSTOMIZE_MANAGER is enabled, the sim heap bypasses mm_heap/tlsf entirely and calls host malloc/free directly, so MM_FILL_ALLOCATIONS has no effect. Add fill pattern support directly in sim_ummheap.c: - malloc: fill user region with 0xaa - free: fill user region with 0x55 - realloc: fill extended region with 0xaa This helps detect uninitialized reads in sim environment, which ASan does not support. Signed-off-by: yushuailong <yyyusl@qq.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||