(self, cfg, irsb, irsb_addr, stmt_idx, data_addr, max_size)
return 'sequence', sequence_max_size
Find sequences in binary data.

        :param angr.analyses.CFG cfg: The control flow graph.
        :param pyvex.IRSB irsb: The IRSB object.
        :param int irsb_addr: Address of the block.
        :param int stmt_idx: Statement ID.
        :param int data_addr: Address of the data in memory.
        :param int max_size: Maximum size possible.
        :return: A 2-tuple of data type and size.
        :rtype: tuple
Find sequences in binary data.
Find sequences in binary data .
def _sequence_handler(self, cfg, irsb, irsb_addr, stmt_idx, data_addr, max_size):  # pylint:disable=unused-argument
        """
        Find sequences in binary data.

        :param angr.analyses.CFG cfg: The control flow graph.
        :param pyvex.IRSB irsb: The IRSB object.
        :param int irsb_addr: Address of the block.
        :param int stmt_idx: Statement ID.
        :param int data_addr: Address of the data in memory.
        :param int max_size: Maximum size possible.
        :return: A 2-tuple of data type and size.
        :rtype: tuple
        """

        if not self._is_sequence(cfg, data_addr, 5):
            # fail-fast
            return None, None

        sequence_max_size = min(256, max_size)

        for i in range(5, min(256, max_size)):
            if not self._is_sequence(cfg, data_addr, i):
                return 'sequence', i - 1

        return 'sequence', sequence_max_size
def _sequence_handler ( self , cfg , irsb , irsb_addr , stmt_idx , data_addr , max_size ) : # pylint:disable=unused-argument if not self . _is_sequence ( cfg , data_addr , 5 ) : # fail-fast return None , None sequence_max_size = min ( 256 , max_size ) for i in range ( 5 , min ( 256 , max_size ) ) : if not self . _is_sequence ( cfg , data_addr , i ) : return 'sequence' , i - 1 return 'sequence' , sequence_max_size