From b879ffa193f7bd496f37034cd7ffe67947d74317 Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Wed, 15 Apr 2009 04:24:03 +0900 Subject: [PATCH] x86-64: There can be valid addresses which is greater than 0xc0000000. --- tcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcc.c b/tcc.c index f70993b..401add2 100644 --- a/tcc.c +++ b/tcc.c @@ -10193,7 +10193,7 @@ static int rt_get_caller_pc(unsigned long *paddr, fp = uc->uc_mcontext.gregs[REG_RBP]; for(i=1;i= 0xc0000000) + if (fp <= 0x1000) return -1; fp = ((unsigned long *)fp)[0]; }