angr/sim_state_options.py
def tally(self, exclude_false=True, description=False):
        """
        Return a string representation of all state options.

        :param bool exclude_false:  Whether to exclude Boolean switches that are disabled.
        :param bool description:    Whether to display the description of each option.
        :return:                    A string representation.
        :rtype:                     str
        """

        total = [ ]

        for o in sorted(self.OPTIONS.values(), key=lambda x: x.name):
            try:
                value = self[o.name]
            except SimStateOptionsError:
                value = "<Unset>"

            if exclude_false and o.one_type() is bool and value is False:
                # Skip Boolean switches that are False
                continue

            s = "{option}: {value}".format(option=o.name, value=value)
            if description:
                s += " | {description}".format(description=o.description)

            total.append(s)

        return "\n".join(total)

        Return a string representation of all state options.

        :param bool exclude_false:  Whether to exclude Boolean switches that are disabled.
        :param bool description:    Whether to display the description of each option.
        :return:                    A string representation.
        :rtype:                     str
        
Return a string representation of all state options.
Return a string representation of all state options .
def tally(self, exclude_false=True, description=False):
        total = [ ]
        for o in sorted(self.OPTIONS.values(), key=lambda x: x.name):
            try:
                value = self[o.name]
            except SimStateOptionsError:
                value = "<Unset>"
            if exclude_false and o.one_type() is bool and value is False:
                continue
            s = "{option}: {value}".format(option=o.name, value=value)
            if description:
                s += " | {description}".format(description=o.description)
            total.append(s)
        return "\n".join(total)
def tally ( self , exclude_false = True , description = False ) : total = [ ] for o in sorted ( self . OPTIONS . values ( ) , key = lambda x : x . name ) : try : value = self [ o . name ] except SimStateOptionsError : value = "<Unset>" if exclude_false and o . one_type ( ) is bool and value is False : continue s = "{option}: {value}" . format ( option = o . name , value = value ) if description : s += " | {description}" . format ( description = o . description ) total . append ( s ) return "\n" . join ( total )
Return a string representation of all state options.
Return a string representation of all state options .
"""
        Return a string representation of all state options.

        :param bool exclude_false:  Whether to exclude Boolean switches that are disabled.
        :param bool description:    Whether to display the description of each option.
        :return:                    A string representation.
        :rtype:                     str
        """ # Skip Boolean switches that are False
A string representation.
A string representation .
str
self
exclude_false
Whether to exclude Boolean switches that are disabled.
Whether to exclude Boolean switches that are disabled .
description
Whether to display the description of each option.
Whether to display the description of each option .