esp-idf/components/heap
Guillaume Souchere 4571e19387 heap: Add test to check that the corruption of free memory is detected
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.

For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-08-26 08:25:39 +02:00
..
include heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule 2022-08-26 08:20:50 +02:00
port esp32c6: introduce the target 2022-08-19 11:13:02 +08:00
test heap: Add test to check that the corruption of free memory is detected 2022-08-26 08:25:39 +02:00
test_multi_heap_host heap: Add test to check that the corruption of free memory is detected 2022-08-26 08:25:39 +02:00
tlsf@ab17d6798d heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule 2022-08-26 08:20:50 +02:00
CMakeLists.txt Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master' 2022-08-08 12:36:02 +08:00
heap_caps_init.c heap: use ROM implementation for heap tlsf on esp32c2 2022-05-12 05:18:57 +00:00
heap_caps.c heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer 2022-08-09 10:30:36 +08:00
heap_private.h heap: Remove TLSF related files and replace them with the tlsf submodule 2022-08-02 12:55:31 +02:00
heap_task_info.c heap: Remove TLSF related files and replace them with the tlsf submodule 2022-08-02 12:55:31 +02:00
heap_trace_standalone.c heap: Remove TLSF related files and replace them with the tlsf submodule 2022-08-02 12:55:31 +02:00
Kconfig heap: use ROM implementation for heap tlsf on esp32c2 2022-05-12 05:18:57 +00:00
linker.lf heap: Fix compilation errors when CONFIG_HEAP_TLSF_USE_ROM_IMPL is set 2022-08-03 08:28:01 +02:00
multi_heap_config.h heap: Remove TLSF related files and replace them with the tlsf submodule 2022-08-02 12:55:31 +02:00
multi_heap_internal.h heap_tlsf: use tlsf IMPL in ESP32C2 ROM 2022-05-05 17:41:11 +08:00
multi_heap_platform.h esp_rom: extract int matrix route and cpu ticks getter 2022-02-09 13:52:20 +08:00
multi_heap_poisoning.c esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF 2022-08-26 08:25:38 +02:00
multi_heap.c heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule 2022-08-26 08:20:50 +02:00
tlsf_platform.h heap: Fix compilation error when CONFIG_SPIRAM is set on esp32s3 target 2022-08-03 08:28:10 +02:00