x64: modify addr limit to support 64 bits addr backtrace

Signed-off-by: andi6 <andi6@xiaomi.com>
This commit is contained in:
andi6 2024-02-02 10:57:45 +08:00 committed by Xiang Xiao
parent 976c4173f0
commit 19e34b7f6e

View file

@ -90,7 +90,7 @@ void backtrace(uint64_t rbp)
for (i = 0; i < 16; i++)
{
if ((rbp < 0x200000) || (rbp > 0xffffffff))
if ((rbp < 0x200000) || (rbp > 0xfffffffff))
{
break;
}