[Ilugc] [Tip] Want to find out what functions a program calls?

Girish Venkatachalam girishvenkatachalam at gmail.com
Tue Aug 3 15:27:09 IST 2010


On Tue, Aug 3, 2010 at 11:00 AM, Tha.Suresh <jemenisuresh at gmail.com> wrote:
> Want to find out what functions a program calls?
>
>        $ strace <program>
>
> Ex1:
> Try this with "ls"
>        $ strace  /bin/ls
>
> Ex2:
> Try this with "test.c"
>
>        $ strace  ./test

strace is what everyone knows. Never heard of lstat.

-Girish


-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com


More information about the ilugc mailing list