ld_preloadgen Python script to generate LD_PRELOAD hooks General Usage Add your 'hook' into generate.py Then run: python generate.py > hook.c ./compile.sh