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

Intercepting system calls seems like the easiest way (I expect most of these failures are in I/O). Use LD_PRELOAD to easily hook the libc wrappers, for (almost) anything C-based.

Deeper simulation is possible, but this should get you the low-hanging fruit.




Use ptrace to wrap the system calls for things that aren't C-based (though this is a little more involved than LD_PRELOAD).




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: