Hacker News new | past | comments | ask | show | jobs | submit login

You could link your library to a passthrough libc that logs calls, if it is dynamically linked. There are various library hijacking solutions to make it easier. ptrace, that strace uses is necessarily slow (ktrace in eg NetBSD is much faster, the kernel does the tracing not userspace).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: