![]() |
dynamically list all symbols from a shared library
My application needs the list of all functions exported by a shared library at run time. How can this be done in Linux programming using c++?
|
You haven't said anything about your programming language, but most languages provide a method of spawning a child process, and capturing it's stdout & stderr streams. You could use this method to spawn ldd, and capture and parse it's output.
--- rod. |
This thread on another board seems to have the same conclusion, with more detail.
--- rod. |
| All times are GMT -5. The time now is 09:29 PM. |