I want to trace bytes written to a socket.
I know I can get fileinfo_t
from fds[arg0]
.
Is there a way to get type of a socket in syscall::write:
?
How can I safely transfer this information from syscall::write:entry
to syscall::write:return
to count bytes written?