esp-idf/components/heap/test_apps/main
Guillaume Souchere ba1d7f8d1c 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-01 10:04:38 +01:00
..
CMakeLists.txt heap: fix the size of buffers in ignored tests 2022-10-05 15:07:06 +02:00
test_aligned_alloc_caps.c heap: migrate unit tests to pytest 2022-09-23 09:49:07 +02:00
test_allocator_timings.c freertos, app_trace, heap: use esp_cpu_get_cycle_count to get ccount 2022-10-12 11:20:55 +02:00
test_corruption_check.c heap: migrate unit tests to pytest 2022-09-23 09:49:07 +02:00
test_diram.c heap: RE-enable ESP32C2 test in test_apps 2023-01-02 08:40:59 +01:00
test_heap_main.c heap: add dynamic poisoning threshold in pytest env to allow test with known memory leak to pass 2022-10-05 15:07:37 +02:00
test_heap_trace.c heap-trace: Add missing tests for heap_trace_summary() and heap_trace_dump_caps() 2022-12-27 10:24:14 +01:00
test_malloc_caps.c heap: Add memory protection activation test 2023-01-25 07:20:57 +01:00
test_malloc.c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-01 10:04:38 +01:00
test_realloc.c heap: RE-enable ESP32C2 test in test_apps 2023-01-02 08:40:59 +01:00
test_runtime_heap_reg.c heap: Update target and host tests after incorporation of the new TLSF implementation 2022-10-26 18:15:40 +02:00