Documentation

Miri.Interpreter.Socket

unix/socket.rs syscall protocol. Descriptor operations consume owned refs; concrete TCP/virtual implementations provide real state transitions/callbacks.

@[reducible, inline]
Equations
Instances For
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Instances For
              structure Miri.Interpreter.Socket.Hooks (S F E I : Type) :
              Instances For
                def Miri.Interpreter.Socket.create {S F E I : Type} (h : Hooks S F E I) (domain kind protocol : OpTy Memory.Provenance) :
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Miri.Interpreter.Socket.bind {S F E I : Type} (h : Hooks S F E I) (number address length : OpTy Memory.Provenance) :
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Miri.Interpreter.Socket.listen {S F E I : Type} (h : Hooks S F E I) (number backlog : OpTy Memory.Provenance) :
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def Miri.Interpreter.Socket.accept4 {S F E I : Type} (h : Hooks S F E I) (number address length : OpTy Memory.Provenance) (flags : Option (OpTy Memory.Provenance)) (dest : MPlaceTy Memory.Provenance) :
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        def Miri.Interpreter.Socket.connect {S F E I : Type} (h : Hooks S F E I) (number address length : OpTy Memory.Provenance) (dest : MPlaceTy Memory.Provenance) :
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          def Miri.Interpreter.Socket.sendRecv {S F E I : Type} (h : Hooks S F E I) (send : Bool) (number buffer length flags : OpTy Memory.Provenance) (dest : MPlaceTy Memory.Provenance) :
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def Miri.Interpreter.Socket.setOption {S F E I : Type} (h : Hooks S F E I) (number level option value length : OpTy Memory.Provenance) :
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              def Miri.Interpreter.Socket.getOption {S F E I : Type} (h : Hooks S F E I) (number level option value length : OpTy Memory.Provenance) :
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                def Miri.Interpreter.Socket.localName {S F E I : Type} (h : Hooks S F E I) (number address length : OpTy Memory.Provenance) :
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  def Miri.Interpreter.Socket.peerName {S F E I : Type} (h : Hooks S F E I) (number address length : OpTy Memory.Provenance) (dest : MPlaceTy Memory.Provenance) :
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    def Miri.Interpreter.Socket.shutdown {S F E I : Type} (h : Hooks S F E I) (number how : OpTy Memory.Provenance) :
                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For

                                      Trait default implementations reject every operation. In particular a virtual socket does not inherit successful TCP options, bind or shutdown.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For