Ditto. Any technique that allows to intercept sys calls issued from a shared object file? At runtime, the shared object is
dlopen'ed by main().
One candidate is to use static binary rewriting (e.g. dyninst). But as I tried, it throws an error (saying about
r_debugCheck() failed). Wondering if anyone had experiences in this task.