Intercepting Library Calls with LD_PRELOAD
Posted