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

gdb bitching #7492

Closed
chairkov opened this issue May 14, 2017 · 7 comments
Closed

gdb bitching #7492

chairkov opened this issue May 14, 2017 · 7 comments
Labels

Comments

@chairkov
Copy link
Contributor

chairkov commented May 14, 2017

so, px/ works like gdb x/. comparing x/s and x/i, then we can see:

gdb:

(gdb) b main
Breakpoint 1 at 0x400a02
(gdb) r
Starting program: /bin/core-grep 

Breakpoint 1, 0x0000000000400a02 in main ()
(gdb) x/40s 0x400a02
0x400a02 <main+4>:      "H\201\354", <incomplete sequence \340>
0x400a07 <main+9>:      ""
0x400a08 <main+10>:     ""

vs r2:

 -- nothing personal, just bitness
[0x7f77afa5ccd0]> db main
[0x7f77afa5ccd0]> dc
Selecting and continuing: 14214
hit breakpoint at: 4009fe
[0x004009fe]> x/40s 0x400a02
H
,H dH%(
HE1HH
D
<

so address prefix is missing

@chairkov
Copy link
Contributor Author

@radare also, somwat odd: (I know it's not regs)

[0x004009fe]> x/40s rsp
Block size 483978792 is too big
This block size is too big. Did you mean 'px @ 40s rsp' instead?

@radare radare closed this as completed in 9c356a9 May 14, 2017
@chairkov
Copy link
Contributor Author

chairkov commented May 14, 2017

@pancake @radare doesn't work, no prefix shown

@radare radare reopened this May 14, 2017
@radare
Copy link
Collaborator

radare commented May 15, 2017

it works now. , fuckoff wat? @pancake is nobody from r2land. can

@radare radare closed this as completed May 15, 2017
@radare
Copy link
Collaborator

radare commented May 15, 2017

can u please add tests at least?

@chairkov
Copy link
Contributor Author

@radare I know, great p was not from me, so ff....

@chairkov
Copy link
Contributor Author

@radare @XVilka is px/ now equal to gdb x/ ?

@radare
Copy link
Collaborator

radare commented May 15, 2017 via email

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

No branches or pull requests

3 participants