lkml.org 
[lkml]   [1997]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: trace for shared lib calles ?
In article <19970726075325.03462@tat.physik.uni-tuebingen.de> 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

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.024 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site