esp-idf/components/heap
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
..
host_test/host_test_linux test: migrate linux target host test jobs into pytest-embedded 2023-01-16 10:25:55 +08:00
include Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master' 2022-12-28 15:07:30 +08:00
port heap: Modify the memory type of the memory used as startup stack when memory protection is enabled 2023-01-26 10:52:34 +01:00
test_apps heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-01 10:04:38 +01:00
test_multi_heap_host
tlsf@8c9cd0517a feat: remove tlsf_fls and tlsf_ffs from linker as they are inlined. 2022-11-24 10:31:14 +01:00
.build-test-rules.yml heap: Add memory protection activation test 2023-01-25 07:20:57 +01:00
CMakeLists.txt heap: add linux target support 2022-12-06 10:49:59 +08:00
Kconfig
heap_caps.c Merge branch 'fix/malloc_cap_exec_on_esp32c6' into 'master' 2023-01-26 17:45:23 +08:00
heap_caps_init.c
heap_caps_linux.c heap: replace usage of bzero() with memset() across the component 2023-01-25 09:28:56 +01:00
heap_private.h heap: add selective placement of function in IRAM 2022-11-24 10:31:14 +01:00
heap_task_info.c
heap_trace_standalone.c heap_trace: unify API to pass caps param to heap_trace_dump() 2022-12-27 10:23:30 +01:00
internals.md heap: add documentation about the function placement in IRAM and its usage in ISR 2022-11-24 10:31:14 +01:00
linker.lf heap: fix linker issues and remove spi flash dependencies 2022-11-24 10:31:14 +01:00
multi_heap.c heap: fix linker issues and remove spi flash dependencies 2022-11-24 10:31:14 +01:00
multi_heap_config.h
multi_heap_internal.h heap: fix linker issues and remove spi flash dependencies 2022-11-24 10:31:14 +01:00
multi_heap_platform.h
multi_heap_poisoning.c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled 2023-02-01 10:04:38 +01:00