Re: trace for shared lib calles ?

Thomas Pornin (
Sat, 26 Jul 1997 14:51:48 +0200

In article <> you write:
>is there an easy way to trace some/all calls to a shared lib (if possible
>without hacking the lib sources and add warppers there) similar to "strace"
>for system calls ?

A friend of mine once began to write such a tool for SunOS 4 and Solaris,
and told me the Linux code should be quite the same as the Solaris one. What
he needed was to complete the list of function wrappers, but the code he
showed me was really efficient (it really trapped all libc function calls
and was displaying them in a man-readable way, just like strace did).

He is on vacation just now but I think he would finish it if asked gently.
I forward him your mail.

--Thomas Pornin