Documentation

Miri.Input.EvalSourceHostEffects

Narrow source-runner host residuals. This module contains host operations only: it does not accept a Core, compiler-derived dispatch, Main hooks, guest memory policy, or completed callback dictionaries. Source algorithms and canonical state projections are assembled by the invocation-time Core.

Only the true native-library and OS-error host effects are retained here. The active native-library path list is read from HostRuntime by Core.

Instances For

    Process-global interrupt and abnormal-cleanup capabilities used by the source loop. Kept local so this seed does not import the runner.

    • interrupted : S → Bool
    • handleAbnormalTermination : S → S
    Instances For
      structure Miri.Input.EvalSourceHostEffects.Filesystem (Os SourceState H D O Path Meta System Error R : Type) :

      Optional raw host filesystem operations for the pinned Unix source family. The directory iterator entry type is existential and remains a transient host value; the actual rooted directory table uses the existing runtime R.

      • Entry : Type
      • pathFromOs : Os → Path

        Convert the host OS-string representation to the host path carrier used by the raw filesystem leaves.

      • osFromPath : Path → Os
      • effects : EvalUnixFsConstruction.HostEffects SourceState H D O Path Meta System Error R self.Entry
      • absolute : Option (Path → EStateM Interpreter.StepError SourceState (Except (Interpreter.IoError.HostError Error) Path))

        Raw std::path::absolute result for host paths. Windows file shims need this for GetFullPathNameW; when absent, that operation remains demand-local Unsupported. This is deliberately not synthesized from cwd or canonicalization.

      Instances For
        structure Miri.Input.EvalSourceHostEffects.TimeSource (Os SourceState : Type) :

        Raw host chrono/database operations for the pinned time shims. Timezone selection still comes from the guest environment; timezoneString is only the host's OsString::into_string conversion. Zone and timestamp types are packed existentially so source packages can carry the real host representation.

        Instances For
          structure Miri.Input.EvalSourceHostEffects.Seed (Os R EnvControl SourceState H D O Aff B Raw Listener TcpStream Error ErrorHost Meta Path Poll AddrIter Instant System NativeHandle Profiler RunState : Type) :

          Host-residual seed shared by the source Core, startup, Unix dispatch, and runner. The independent state parameters are unified by Core at the final callsite; this record does not snapshot or manufacture those states.

          Instances For