From bbab5a629ae653899b9f613057916eaf95fc60f8 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 10 Nov 2019 20:16:12 +0100 Subject: add bumpptr variations allocator definitions --- src/allocators/bumpptr.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/allocators/bumpptr.py') diff --git a/src/allocators/bumpptr.py b/src/allocators/bumpptr.py index 98cba4b..37fbfe5 100644 --- a/src/allocators/bumpptr.py +++ b/src/allocators/bumpptr.py @@ -27,3 +27,11 @@ from src.allocator import Allocator, BUILDDIR bumpptr = Allocator("bumpptr", LD_PRELOAD=os.path.join(BUILDDIR, "bumpptr_alloc.so"), color="xkcd:black") + +bumpptr_single_tsd = Allocator("bumpptr_single_tsd", + LD_PRELOAD=os.path.join(BUILDDIR, "bumpptr_alloc_single_tsd.so"), + color="xkcd:black") + +bumpptr_always_align = Allocator("bumpptr_always_align", + LD_PRELOAD=os.path.join(BUILDDIR, "bumpptr_alloc_always_align.so"), + color="xkcd:black") -- cgit v1.2.3