(self)
return lst
Generate a list of all recovered basic blocks.
Generate a list of all recovered basic blocks.
Generate a list of all recovered basic blocks .
def generate_code_cover(self):
        """
        Generate a list of all recovered basic blocks.
        """

        lst = [ ]
        for irsb_addr in self.cfg.nodes():
            if irsb_addr not in self._block_size:
                continue
            irsb_size = self._block_size[irsb_addr]
            lst.append((irsb_addr, irsb_size))

        lst = sorted(lst, key=lambda x: x[0])

        return lst
def generate_code_cover ( self ) : lst = [ ] for irsb_addr in self . cfg . nodes ( ) : if irsb_addr not in self . _block_size : continue irsb_size = self . _block_size [ irsb_addr ] lst . append ( ( irsb_addr , irsb_size ) ) lst = sorted ( lst , key = lambda x : x [ 0 ] ) return lst