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 C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT 2022-12-05 18:16:08 +08:00
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 heap: Update host tests after incorporation of the new TLSF implementation 2022-10-27 09:36:17 +02:00
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: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_tlsf.h heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_tlsf_block_functions.h heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_tlsf_config.h heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_trace_standalone.c
internals.md heap: add documentation about the function placement in IRAM and its usage in ISR 2022-12-14 12:57:08 +01:00
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