mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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. |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
pytest_heap.py | ||
README.md | ||
sdkconfig.ci.8bit_access | ||
sdkconfig.ci.abort_alloc_fail | ||
sdkconfig.ci.comprehensive_poisoning | ||
sdkconfig.ci.heap_trace | ||
sdkconfig.ci.light_poisoning | ||
sdkconfig.ci.mem_prot | ||
sdkconfig.ci.no_poisoning | ||
sdkconfig.ci.psram | ||
sdkconfig.ci.psram_all_ext | ||
sdkconfig.defaults |
Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
---|