kopia lustrzana https://github.com/espressif/esp-idf
ba1d7f8d1c
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. |
||
---|---|---|
.. | ||
host_test/host_test_linux | ||
include | ||
port | ||
test_apps | ||
test_multi_heap_host | ||
tlsf@8c9cd0517a | ||
.build-test-rules.yml | ||
CMakeLists.txt | ||
Kconfig | ||
heap_caps.c | ||
heap_caps_init.c | ||
heap_caps_linux.c | ||
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 |