esp-idf/components/heap
Guillaume Souchere f4ab9a440a heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).

test_malloc.c extended with a new test assuring that  heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-22 07:32:49 +01:00
..
include
port heap: Modify the memory type of the memory used as startup stack when memory protection is enabled 2023-01-31 07:57:02 +01:00
test heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-22 07:32:49 +01:00
test_multi_heap_host
CMakeLists.txt heap: fix linker issues and remove spi flash dependencies 2022-12-14 12:57:08 +01:00
Kconfig
component.mk
heap_caps.c heap: Fix priority in shex() bit shift 2023-02-13 09:10:06 +01:00
heap_caps_init.c
heap_private.h heap: add check for usage of flash content from iram 2022-12-14 12:57:08 +01:00
heap_task_info.c
heap_tlsf.c
heap_tlsf.h
heap_tlsf_block_functions.h
heap_tlsf_config.h
heap_trace_standalone.c
internals.md
linker.lf heap: fix linker issues and remove spi flash dependencies 2022-12-14 12:57:08 +01:00
multi_heap.c heap: fix linker issues and remove spi flash dependencies 2022-12-14 12:57:08 +01:00
multi_heap_config.h
multi_heap_internal.h heap: fix linker issues and remove spi flash dependencies 2022-12-14 12:57:08 +01:00
multi_heap_platform.h
multi_heap_poisoning.c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-22 07:32:49 +01:00