diff --git a/tcc.c b/tcc.c index f70993bb..401add2f 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]; }