[GSOC2015] Review on idea
jitendra kumar khasdev
jkhasdev at gmail.com
Thu Mar 19 04:19:44 UTC 2015
On Thu, 19 Mar 2015, Dmitry V. Levin wrote:
> What kind of mapping are you talking about?
> In your printf/write example, not every printf() leads to a write syscall,
> some printf() calls lead to other syscalls, and other function calls may
> end up with a write syscall.
Yes, this is the reason so that is why, want to perform one to many
mapping between lib function and sys function.
Here is something which thought about output of the program as.
input : $ strace -xyz ./a.out
printf() -> syscall1();
fork() -> syscall5();
<return value == 0>
printf() -> syscall8();
fork() -> syscall12();
<return value == 56>
<normally program exited>
where syscall[i] represent the system call.
Jitendra Kumar Khasdev,
CSE-Student | LNCT-E(GGITM)
jkhasdev at gmail.com| Mo.8871242083
More information about the Strace-devel