esp-idf/components/heap/test
Guillaume Souchere 2ea046c091 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 11:42:02 +01:00
..
CMakeLists.txt tools: update list of references to not include symbold used by __assert_func calls 2022-12-14 12:37:23 +01:00
test_aligned_alloc_caps.c spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +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 TLSF: fix the patch for tlsf_check function in ROM 2022-09-13 14:20:39 +02:00
test_diram.c heap: RE-enable ESP32C2 test in test_apps 2023-01-03 09:52:33 +01:00
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: RE-enable ESP32C2 test in test_apps 2023-01-03 09:52:33 +01:00
test_malloc.c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-22 11:42:02 +01:00
test_realloc.c heap: RE-enable ESP32C2 test in test_apps 2023-01-03 09:52:33 +01:00
test_runtime_heap_reg.c heap: Fix memory boundary condition checks when adding new region 2022-10-12 08:17:50 +02:00