README (510B)
1 How to use 2 ========== 3 4 To test you can use the following: 5 6 LD_PRELOAD=$(pwd)/liblemoncake.so <prog> 7 8 To get some debug output, try this: 9 10 LD_PRELOAD=$(pwd)/liblemoncake.so LEMONCAKE_DEBUG=1 <prog> 11 and then check out lemoncake.out. 12 13 Notes 14 ===== 15 16 Using LD_PRELOAD might break certain programs. Emacs for example 17 fails to run with any replacement allocator due to the way that it 18 saves and restores its state. 19 20 Compatibility 21 ============= 22 23 Tested on Linux (x86/x86-64/ARM) and OpenBSD (x86/x86-64/ppc).