kopia lustrzana https://github.com/espressif/esp-idf
![]() 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. |
||
---|---|---|
.. | ||
include | ||
port | ||
test | ||
test_multi_heap_host | ||
CMakeLists.txt | ||
Kconfig | ||
component.mk | ||
heap_caps.c | ||
heap_caps_init.c | ||
heap_private.h | ||
heap_task_info.c | ||
heap_tlsf.c | ||
heap_tlsf.h | ||
heap_tlsf_block_functions.h | ||
heap_tlsf_config.h | ||
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 |