Linux LD_PRELOAD
前些天为了排查我们程序中不知道是库里面还是我们自己调用了assert断言,导致我们程序死亡。想通过hook拦截到调用这个函数的调用者,偶然间想起proload(预加载),小试牛刀使用如下代码#include <syscall.h>#include <stdio.h>#include <sys/types.h>#include <unistd.h>void abort(void){ printf("******...