Find out the system calls statically?

River Wang jwangzju@gmail.com
Mon Aug 18 13:56:00 GMT 2008


Hi Frank:

Got it. Thanks for the reply.

Regards,

Jiang

On Sun, Aug 17, 2008 at 11:31 AM, Frank Ch. Eigler <fche@redhat.com> wrote:
> "River Wang" <jwangzju@gmail.com> writes:
>
>> I know that systemtap can monitor the system calls dynamically. I
>> just wondering if it also supports some sort of static analysis so
>> that I can find ALL the system calls that will be called by a
>> program. [...]
>
> If the program in question is not expected to be too sneaky, you could
> "nm -u" the object files to look for glibc syscall wrapper calls.  If
> it's sneaky (inline assembly or even self-modifying code), you cannot.
>
> - FChE
>



More information about the Systemtap mailing list