Documentation

Miri.Interpreter.NativeAllocBytes

Pinned alloc/alloc_bytes.rs:41–165, isolated-allocator branch. The host pointer is retained with its original (possibly empty) slice layout; allocation and destruction use the one-byte-adjusted layout. Host copy/read are genuine memory effects, never manufactured byte observations. Global allocator mode remains outside this isolated-native construction.

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

      alloc_with: the actual isolated allocator's address, including distinct nonempty backing for zero-length slices. Layout validation runs in allocate.

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

            Source Deref exposes exactly the original size, even for empty slices.

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

                  Actual standard allocator effects. Null is allocation exhaustion, unlike isolated mmap failure (which is a source assertion failure).

                  Instances For

                    Source alloc_with returns None for conversion/layout errors or null.

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