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

'is' does not work for attached process #57

Closed
oblique opened this issue Mar 1, 2013 · 3 comments
Closed

'is' does not work for attached process #57

oblique opened this issue Mar 1, 2013 · 3 comments
Milestone

Comments

@oblique
Copy link
Contributor

oblique commented Mar 1, 2013

I did the following:
(assume that 1234 is the pid of the process)

% r2 -d 1234
io /proc/1234/exe
.ia*
is

I also tried: > .!rabin2 -rsiI /proc/1234/exe

@radare
Copy link
Collaborator

radare commented Mar 1, 2013

the .!rabin2 -rsil command will import the flags, function definitions, etc.. but this will not be shown in the output of 'i' command. The last commit fixes the 'io' command, but this will not work on PIE bins and it's not yet loaded automatically when attaching to a process. I will close this bug when i have time to fix those issues. thanks for reporting :)

@radare
Copy link
Collaborator

radare commented Aug 18, 2013

I have added the command 'dpe' to show the path to the executable which is being debugged. It should work on osx and linux/bsd with /proc.

We need to get the base address of the mapped program in memory. This way we can tell this to 'i' in order to load the program information if it's relocatable. (Also useful for libraries)

@XVilka
Copy link
Contributor

XVilka commented Oct 29, 2013

While debugging one radare2 instance with another I've found that 'is' works pretty well.
See output http://xvilka.me/double-r2.log
It is on 64-bit Gentoo (not Hardened).

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

3 participants