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."
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to