(self, arena_addr=None)
return result
Returns: chain or None
Returns: chain or None
Returns : chain or None
def fastbins(self, arena_addr=None):
        """Returns: chain or None"""
        arena = self.get_arena(arena_addr)

        if arena is None:
            return

        fastbinsY    = arena['fastbinsY']
        fd_offset    = self.chunk_key_offset('fd')
        num_fastbins = 7
        size         = pwndbg.arch.ptrsize * 2
        safe_lnk = pwndbg.glibc.check_safe_linking()

        result = OrderedDict()
        for i in range(num_fastbins):
            size += pwndbg.arch.ptrsize * 2
            chain = pwndbg.chain.get(int(fastbinsY[i]), offset=fd_offset, limit=heap_chain_limit, safe_linking=safe_lnk)

            result[size] = chain

        result['type'] = 'fastbins'
        return result
def fastbins ( self , arena_addr = None ) : arena = self . get_arena ( arena_addr ) if arena is None : return fastbinsY = arena [ 'fastbinsY' ] fd_offset = self . chunk_key_offset ( 'fd' ) num_fastbins = 7 size = pwndbg . arch . ptrsize * 2 safe_lnk = pwndbg . glibc . check_safe_linking ( ) result = OrderedDict ( ) for i in range ( num_fastbins ) : size += pwndbg . arch . ptrsize * 2 chain = pwndbg . chain . get ( int ( fastbinsY [ i ] ) , offset = fd_offset , limit = heap_chain_limit , safe_linking = safe_lnk ) result [ size ] = chain result [ 'type' ] = 'fastbins' return result