Commit Graph

17 Commits

Author SHA1 Message Date
tg
3c07bc66f0 fix up the fuckage in afree() 2008-11-12 06:35:27 +00:00
tg
c6bcbc7bb0 improve error reporting 2008-11-12 06:14:26 +00:00
tg
364a7d116a mergo 2008-11-12 06:12:56 +00:00
tg
548c86147e more careful about disabling cookies 2008-11-12 06:10:51 +00:00
tg
4d62063eca and fix another set of CPPFLAGS for debugging 2008-11-12 06:05:54 +00:00
tg
42b789fc04 no %t and %z specifiers in shf_vfprintf ☹ so use %p and %l instead 2008-11-12 05:55:43 +00:00
tg
c113091e2d forgot to charge for the extra size in the abstraction 2008-11-12 05:46:45 +00:00
tg
b08956d6a7 raise AALLOC_INITSZ to be less expensive 2008-11-12 05:46:14 +00:00
tg
18b38ac5c7 if the address of bp changes, all backpointers must be adjusted as well ☹
pretty expensive
2008-11-12 05:45:28 +00:00
tg
7f17e3fc91 temporarily disable cookies for debugging 2008-11-12 05:40:23 +00:00
tg
b1673ff1a3 with other combinations too 2008-11-12 05:34:20 +00:00
tg
c3e17d8f0b get the debugging methods to build 2008-11-12 05:32:34 +00:00
tg
1211cf79cc • bp->last == bp->endp is allowed
• do the realloc properly
2008-11-12 05:27:01 +00:00
tg
4b456b1457 __CRAZY cleanliness: pointer arithmetic 2008-11-12 05:11:05 +00:00
tg
7cbc0b6fa2 this one I could have seen by myself if not for the late time of the day 2008-11-12 05:05:17 +00:00
tg
d15671f6f6 fix first batch of compile warnings, enable aalloc for mirbsd 2008-11-12 04:59:42 +00:00
tg
3c1e46ee4d prepare for aalloc.c, which I have just written myself, as an area-based
allocator using malloc and free, with mmap malloc and omalloc in mind,
not counterfeiting its security measures such as guard pages, and having
some of our own, e.g. XOR random cookies, optional mprotect, etc.

zero cost (for we have arc4random())
2008-11-12 04:55:19 +00:00