OVMS3-idf/components/heap
Ivan Grokhotkov c3ae910529 heap: recognize 0x40000000 as an address terminating the backtrace
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2020-04-21 11:48:43 +02:00
..
include heap: recognize 0x40000000 as an address terminating the backtrace 2020-04-21 11:48:43 +02:00
test multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration 2020-03-27 14:30:27 -03:00
test_multi_heap_host multi_heap: Fix bug when start of heap is unaligned 2018-12-20 01:40:05 +00:00
CMakeLists.txt cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
component.mk heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
heap_caps.c heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-18 01:41:58 +00:00
heap_caps_init.c heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-18 01:41:58 +00:00
heap_private.h separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
heap_task_info.c heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
heap_trace_standalone.c heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
Kconfig heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
linker.lf ldgen: update component linker fragment files 2019-04-04 15:57:34 +08:00
multi_heap.c multi_heap: Fix bug when start of heap is unaligned 2018-12-20 01:40:05 +00:00
multi_heap_config.h Try to merge tail with next block when splitting 2018-04-03 12:30:52 +10:00
multi_heap_internal.h heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
multi_heap_platform.h Rename Kconfig options (root) 2019-05-21 09:09:01 +02:00
multi_heap_poisoning.c multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration 2020-03-27 14:30:27 -03:00