This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

Re: Find out the system calls statically?


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
>


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