(self)
Check permissions, are we allowed to execute here? Do we care?
Check permissions, are we allowed to execute here? Do we care?
Check permissions are we allowed to execute here? Do we care?
def _probe_access(self) -> None:
        """
        Check permissions, are we allowed to execute here? Do we care?
        """
        if o.STRICT_PAGE_ACCESS not in self.state.options:
            return
        try:
            perms = self.state.memory.permissions(self._addr)
        except errors.SimMemoryError:
            raise errors.SimSegfaultError(self._addr, "exec-miss") from errors.SimMemoryError
        else:
            if not perms.symbolic:
                perms = self.state.solver.eval(perms)
                if not perms & 4 and o.ENABLE_NX in self.state.options:
                    raise errors.SimSegfaultError(self._addr, "non-executable")
def _probe_access ( self ) -> None : if o . STRICT_PAGE_ACCESS not in self . state . options : return try : perms = self . state . memory . permissions ( self . _addr ) except errors . SimMemoryError : raise errors . SimSegfaultError ( self . _addr , "exec-miss" ) from errors . SimMemoryError else : if not perms . symbolic : perms = self . state . solver . eval ( perms ) if not perms & 4 and o . ENABLE_NX in self . state . options : raise errors . SimSegfaultError ( self . _addr , "non-executable" )