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
include
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
.build-test-rules.yml
CMakeLists.txt
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_task_info.c
heap_trace_standalone.c
internals.md
linker.lf
multi_heap.c
multi_heap_config.h
multi_heap_internal.h
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