replace functions of a running Linux process