Documentation

Miri.TreeBorrows.RangedNormalTree

Allocation-range iteration for the normal one-root Tree Borrows slice. Each deduplicated range stores the lazily materialized per-node states for one location, and each selected range gets the normal-tree visitor transition. Wildcard roots, exposed-pointer state, diagnostics, and protector lifecycle remain outside this model.

Normal-tree state partitioned over allocation byte ranges. Each range's payload contains one optional state per tree node, matching lazy LocationTree.perms initialization at that location.

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
        def Miri.TreeBorrows.Tree.RangedNormalTreeState.new (size : ABI.Size) (topology : TraversalTree) (defaultStates : Array LocationState) (protectedNodes : List Nat) (initialStates : Array (Option LocationState)) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          One-byte, one-node Cell state used for a small end-to-end ranged access contract.

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

            One tree access result for one deduplicated location interval.

            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

                  Status from mutating the selected range partition and applying each per-location tree transition in source order.

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

                      Updated partition, visited location intervals (including a failing one), and first failure.

                      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

                            Apply one normal-tree access to every deduplicated range in the requested byte interval. The range map performs its eager split/merge preparation first; then each selected payload is updated in order. A per-location error retains that interval's partial tree changes and stops the remaining range loop.

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