In Glibc there are 7 bins in fastbin from 0x20 to 0xb0 each bin hold only their size. and it's a one-way linked list.
Does the fastbin in Uclibc(0.9.33.2) is the same ? is there any difference ?
In Glibc there are 7 bins in fastbin from 0x20 to 0xb0 each bin hold only their size. and it's a one-way linked list.
Does the fastbin in Uclibc(0.9.33.2) is the same ? is there any difference ?
Copyright © 2021 Jogjafile Inc.
The fastbins of Uclibc are declared in malloc-standard/malloc.h and used in files malloc-standard/mallinfo.c, malloc-standard/malloc.c, malloc-standard/free.c.
The
greputility (when launched on source code of Uclibc) don't find them elsewhere.A comment in
malloc.hsays:So if you build the Uclibc with
TRIM_FASTBINSit seems that the__do_check_remalloced_chunkis handling them like you want.But I am not sure, you need to compile that Uclibc library from source code and use a debugger to check that property.