Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbt never shows anything but current function #22891

Open
3B85A591 opened this issue May 1, 2024 · 1 comment
Open

dbt never shows anything but current function #22891

3B85A591 opened this issue May 1, 2024 · 1 comment

Comments

@3B85A591
Copy link
Contributor

3B85A591 commented May 1, 2024

Environment

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

Description

dbt does not show output beyond one line. Changing dbg.btalgo has no effect.

Test

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

@trufae
Copy link
Collaborator

trufae commented May 9, 2024

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

IMG_9321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants