(self, sigsetsize=None)
return self._sigmask
Gets the current sigmask. If it's blank, a new one is created (of sigsetsize).

        :param sigsetsize: the size (in *bytes* of the sigmask set)
        :return: the sigmask
Gets the current sigmask. If it's blank, a new one is created (of sigsetsize).
Gets the current sigmask . If it s blank a new one is created ( of sigsetsize ) .
def sigmask(self, sigsetsize=None):
        """
        Gets the current sigmask. If it's blank, a new one is created (of sigsetsize).

        :param sigsetsize: the size (in *bytes* of the sigmask set)
        :return: the sigmask
        """
        if self._sigmask is None:
            if sigsetsize is not None:
                sc = self.state.solver.eval(sigsetsize)
                self.state.add_constraints(sc == sigsetsize)
                self._sigmask = self.state.solver.BVS('initial_sigmask', sc*self.state.arch.byte_width, key=('initial_sigmask',), eternal=True)
            else:
                self._sigmask = self.state.solver.BVS('initial_sigmask', self.sigmask_bits, key=('initial_sigmask',), eternal=True)
        return self._sigmask
def sigmask ( self , sigsetsize = None ) : if self . _sigmask is None : if sigsetsize is not None : sc = self . state . solver . eval ( sigsetsize ) self . state . add_constraints ( sc == sigsetsize ) self . _sigmask = self . state . solver . BVS ( 'initial_sigmask' , sc * self . state . arch . byte_width , key = ( 'initial_sigmask' , ) , eternal = True ) else : self . _sigmask = self . state . solver . BVS ( 'initial_sigmask' , self . sigmask_bits , key = ( 'initial_sigmask' , ) , eternal = True ) return self . _sigmask