esp-idf/components/heap/test
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
..
CMakeLists.txt tools: update list of references to not include symbold used by __assert_func calls 2022-12-14 12:57:08 +01: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_corruption_check.c heap: Add test to check that the corruption of free memory is detected 2022-08-26 07:51:29 +02: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-28 05:59:31 +00:00
test_malloc.c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-22 07:32:49 +01:00
test_realloc.c ci: fix ci 2022-08-09 20:34:25 +08:00
test_runtime_heap_reg.c Security: ESP32C3 memory protection feature (IRAM0/DRAM0) 2021-01-27 08:44:03 +01:00