esp-idf/components/heap/test
Guillaume Souchere a82cf0b00c 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 10:45:00 +00:00
..
CMakeLists.txt cmock: added cmock as component 2020-09-02 16:38:37 +08:00
component.mk heap: Refactor heap regions/capabilities out of FreeRTOS 2017-07-10 17:46:03 +08:00
test_aligned_alloc_caps.c heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
test_allocator_timings.c heap: add light poisoning configuration to the tests. 2021-02-01 11:58:42 +08:00
test_diram.c bootloader: Add fault injection resistance to Secure Boot bootloader verification 2020-02-27 14:37:19 +05:30
test_heap_trace.c heap tracing: Fix tracing of newlib internal allocations 2018-03-20 12:03:46 +11:00
test_leak.c heap/test_leak: changed requested memory on leak checks to match the threshold 2019-12-20 13:35:56 -03:00
test_malloc_caps.c Heap: fix typos in test and component 2022-04-13 14:23:51 +08:00
test_malloc.c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-22 10:45:00 +00:00
test_realloc.c Security: ESP32C3 memory protection feature (IRAM0/DRAM0) 2021-01-27 08:44:03 +01:00
test_runtime_heap_reg.c Security: ESP32C3 memory protection feature (IRAM0/DRAM0) 2021-01-27 08:44:03 +01:00