aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/bumpptr.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/allocators/bumpptr.py')
-rw-r--r--src/allocators/bumpptr.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/allocators/bumpptr.py b/src/allocators/bumpptr.py
new file mode 100644
index 0000000..f95a884
--- /dev/null
+++ b/src/allocators/bumpptr.py
@@ -0,0 +1,4 @@
+import os
+from src.allocator import Allocator, builddir
+
+bumpptr = Allocator("bumpptr", LD_PRELOAD=os.path.join(builddir, "bumpptr_alloc.so"), color="xkcd:black")