This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Find out the system calls statically?


Hi:
I want to find all the system calls that will be called by a program.
Is there any tools to get it? I think normally a program just calls a
function call and the glibc actually calls the system call. How can I
find all the system calls in glibc? I know there are some dynamic
tools like strace, but I need to use static analysis tools because
they are more complete.

Another question, how can I debug glibc? I want to trace into some
function calls like fopen to see how it use actual system calls. My
distro is CentOS5, but I cannot find the package for debug info of
glibc.

Any suggestions?

Thanks,

Jiang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]