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
component.mk G0: Memory layouts are now part of heap components 2021-07-15 11:38:23 +10:00
heap_caps_init.c G0: Memory layouts are now part of heap components 2021-07-15 11:38:23 +10:00
heap_caps.c heap: Fix priority in shex() bit shift 2023-02-13 09:10:06 +01:00
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: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11: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_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_trace_standalone.c heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
internals.md heap: add documentation about the function placement in IRAM and its usage in ISR 2022-12-14 12:57:08 +01:00
Kconfig heap: use hal specific API to get cpu cycles count 2021-06-22 14:14:10 +08:00
linker.lf heap: fix linker issues and remove spi flash dependencies 2022-12-14 12:57:08 +01:00
multi_heap_config.h heap: add tlsf config specific to the host test 2020-11-12 11:07:46 +11:00
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 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 18:42:10 +08:00
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
multi_heap.c heap: fix linker issues and remove spi flash dependencies 2022-12-14 12:57:08 +01:00