Re: Extracting symbol info out of processes at runtime
From: John-Mark Gurney (gurney_j_at_efn.org)
Date: 04/29/04
- Previous message: David Malone: "Re: unexpected trafic"
- In reply to: P. de Boer: "Extracting symbol info out of processes at runtime"
- Next in thread: P. de Boer: "Re: Extracting symbol info out of processes at runtime"
- Reply: P. de Boer: "Re: Extracting symbol info out of processes at runtime"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 09:59:16 -0700 To: "P. de Boer" <pieter@thelostparadise.com>
P. de Boer wrote this message on Wed, Apr 28, 2004 at 17:59 +0200:
> For a little private project I'm working at, I need to find the address
> of a function which is inside a shared library of a running process, OR
> the base address the library is running at (in that case, I can simply
> do a base_address+known_offset_of_function). The executable nor
> libraries have their symbols stripped.
Well, if you don't mind not doing all the code, you could use gcore + gdb
to extract the function and library... It may not be the most elegant
solution, but it will work..
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: David Malone: "Re: unexpected trafic"
- In reply to: P. de Boer: "Extracting symbol info out of processes at runtime"
- Next in thread: P. de Boer: "Re: Extracting symbol info out of processes at runtime"
- Reply: P. de Boer: "Re: Extracting symbol info out of processes at runtime"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|