Open 3B85A591 opened 2 weeks ago
radare2 5.9.1 32041 @ linux-x86-64 birth: git.5.9.0-124-g4c363ac228 2024-05-01__03:36:10 commit: 4c363ac228df2e24d1345796c103505e70adfbcb options: gpl -O? cs:5 cl:2 make Linux x86_64
dbt does not show output beyond one line. Changing dbg.btalgo has no effect.
void another() { return; } void other() { return another (); } int main() { other (); return 0; }
gcc dbt.c -o dbt r2 -d dbt db main sym.other sym.another dc dbt 0 0x5cc18712a130 sp: 0x0 0 [??] main sym.other+16 dc dbt 0 0x5cc18712a120 sp: 0x0 0 [??] rip sym.another+7 dc dbt 0 0x5cc18712a119 sp: 0x0 0 [??] rip entry.init0+9
0 0x5cc18712a130 sp: 0x0 0 [??] main sym.other+16
0 0x5cc18712a120 sp: 0x0 0 [??] rip sym.another+7
0 0x5cc18712a119 sp: 0x0 0 [??] rip entry.init0+9
U can try one of the alternative algorithms. Its been a while since this code was written and compilers generate different code. Please give it a try
Environment
Description
dbt does not show output beyond one line. Changing dbg.btalgo has no effect.
Test
gcc dbt.c -o dbt r2 -d dbt db main sym.other sym.another dc dbt
0 0x5cc18712a130 sp: 0x0 0 [??] main sym.other+16
dc dbt0 0x5cc18712a120 sp: 0x0 0 [??] rip sym.another+7
dc dbt0 0x5cc18712a119 sp: 0x0 0 [??] rip entry.init0+9