Skip to content
Commit d0a1945f authored by Jungo Lin's avatar Jungo Lin Committed by Carles Cufí
Browse files

arch: arm64: enhance backtrace dump check



Examine the FP and LR values of each frame to prevent nested
exceptions caused by data aborts. Sometimes, abnormal FP and LR
values are not mapped by the MMU. If we access memory addresses
based on FP or LR values, a CPU data abort will occur. This issue
often accompanies stack overflow occurrences.

Based on this, it is safe to check the validity of memory mapping
with FP and LR values before accessing them.

Signed-off-by: default avatarJungo Lin <jungolin.tw@gmail.com>
parent 91af849c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment