Re: [GD-Linux] Determining address of C++ member function at run-time...
Brought to you by:
vexxed72
From: Steve B. <sjb...@ai...> - 2001-12-12 23:29:51
|
Colin Fahey wrote: > I have a Linux shared-library (*.so) file with lots > of C++ classes. I would like to determine the addresses > of the binary code implementations of various > NON-STATIC member functions at run-time (not at > compile-time or doing "nm foo.so" at the command line). Is dlopen/dlsym applicable here? What I don't understand is *WHY* you need to do this. It seems like you must be doing something unbelievably **NASTY** and you ought to be looking for a better way to solve the problem than delving around in ikky machine details such as code addresses. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |