(self, data_addr, data_size)
return 'cgc-package-list', data_size
Identifies the CGC package list associated with the CGC binary.

        :param int data_addr: Address of the data in memory.
        :param int data_size: Maximum size possible.
        :return: A 2-tuple of data type and size.
        :rtype: tuple
Identifies the CGC package list associated with the CGC binary.
Identifies the CGC package list associated with the CGC binary .
def _cgc_package_list_identifier(self, data_addr, data_size):
        """
        Identifies the CGC package list associated with the CGC binary.

        :param int data_addr: Address of the data in memory.
        :param int data_size: Maximum size possible.
        :return: A 2-tuple of data type and size.
        :rtype: tuple
        """

        if data_size < 100:
            return None, None

        data = self.fast_memory_load(data_addr, data_size, str)

        if data[:10] != 'The DECREE':
            return None, None

        if not all(i in string.printable for i in data):
            return None, None

        if not re.match(r"The DECREE packages used in the creation of this challenge binary were:", data):
            return None, None

        return 'cgc-package-list', data_size
def _cgc_package_list_identifier ( self , data_addr , data_size ) : if data_size < 100 : return None , None data = self . fast_memory_load ( data_addr , data_size , str ) if data [ : 10 ] != 'The DECREE' : return None , None if not all ( i in string . printable for i in data ) : return None , None if not re . match ( r"The DECREE packages used in the creation of this challenge binary were:" , data ) : return None , None return 'cgc-package-list' , data_size