(self, result, addr, page_addr, endness, memory, **kwargs)
Small utility function for behavior which is duplicated in load

        mutates result to generate a new memory object and replace the last entry in it, which is None. Then, it will
        insert the new memory object into self.content.
Small utility function for behavior which is duplicated in load
Small utility function for behavior which is duplicated in load
def _fill(self, result, addr, page_addr, endness, memory, **kwargs):
        """
        Small utility function for behavior which is duplicated in load

        mutates result to generate a new memory object and replace the last entry in it, which is None. Then, it will
        insert the new memory object into self.content.
        """
        global_end_addr = addr + page_addr
        global_start_addr = result[-1][0]
        size = global_end_addr - global_start_addr
        new_ast = self._default_value(global_start_addr, size, name='%s_%x' % (memory.id, global_start_addr),
                                      key=(self.category, global_start_addr), memory=memory, **kwargs)
        new_item = SimMemoryObject(new_ast, global_start_addr, endness=endness,
                                   byte_width=memory.state.arch.byte_width if memory is not None else 8)
        subaddr_start = global_start_addr - page_addr
        for subaddr in range(subaddr_start, addr):
            self.content[subaddr] = { new_item }
            self.stored_offset.add(subaddr)
        result[-1] = (global_start_addr, new_item)
def _fill ( self , result , addr , page_addr , endness , memory , * * kwargs ) : global_end_addr = addr + page_addr global_start_addr = result [ - 1 ] [ 0 ] size = global_end_addr - global_start_addr new_ast = self . _default_value ( global_start_addr , size , name = '%s_%x' % ( memory . id , global_start_addr ) , key = ( self . category , global_start_addr ) , memory = memory , * * kwargs ) new_item = SimMemoryObject ( new_ast , global_start_addr , endness = endness , byte_width = memory . state . arch . byte_width if memory is not None else 8 ) subaddr_start = global_start_addr - page_addr for subaddr in range ( subaddr_start , addr ) : self . content [ subaddr ] = { new_item } self . stored_offset . add ( subaddr ) result [ - 1 ] = ( global_start_addr , new_item )