Skip to content

Files

Latest commit

Nov 17, 2024
b9afb18 · Nov 17, 2024

History

History

shim

To use, compile libshim.a and the target application with it. Link the dynamic loader library (-ldl) and use the linker flag '-Wl,--wrap=main' to wrap main.
Make sure the application doesn't use static initializers for pthread mutexes etc.