lemoncake

rbtree based memory allocator
git clone git://git.2f30.org/lemoncake.git
Log | Files | Refs | README | LICENSE

README (510B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
How to use
==========

To test you can use the following:

LD_PRELOAD=$(pwd)/liblemoncake.so <prog>

To get some debug output, try this:

LD_PRELOAD=$(pwd)/liblemoncake.so LEMONCAKE_DEBUG=1 <prog>
and then check out lemoncake.out.

Notes
=====

Using  LD_PRELOAD might  break  certain programs.   Emacs for  example
fails to  run with any  replacement allocator due  to the way  that it
saves and restores its state.

Compatibility
=============

Tested on Linux (x86/x86-64/ARM) and OpenBSD (x86/x86-64/ppc).