Searched hist:bd8bea6f45b004aa153fa8d7922dec6a655f50e3 (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/mm/ |
| H A D | boot_mem.c | bd8bea6f45b004aa153fa8d7922dec6a655f50e3 Fri May 23 08:20:06 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> core: boot_mem: enable asan support
Add boot_mem_init_asan() to tag all allocated memory with asan_tag_access().
Allocations with boot_mem_alloc() and boot_mem_alloc_tmp() are tagged with asan_tag_access().
boot_mem_foreach_padding() temporarily allow access to paddings for the callback and restores no-access if the callback returns false to tell that the padding wasn't consumed.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
|
| /optee_os/core/include/kernel/ |
| H A D | boot.h | bd8bea6f45b004aa153fa8d7922dec6a655f50e3 Fri May 23 08:20:06 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> core: boot_mem: enable asan support
Add boot_mem_init_asan() to tag all allocated memory with asan_tag_access().
Allocations with boot_mem_alloc() and boot_mem_alloc_tmp() are tagged with asan_tag_access().
boot_mem_foreach_padding() temporarily allow access to paddings for the callback and restores no-access if the callback returns false to tell that the padding wasn't consumed.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
|