Documentation

Miri.Interpreter.EntryArguments

eval.rs:390–471,641–710: actual immutable argument/argv/root-cell memory and Windows command-line encoding. Compiler array-layout queries retain real TyIds; projected indices execute the existing effectful canonical Place path.

Source initialization panics are explicit invalid-program results, never host exceptions. Empty argv produces exactly one UTF-16 zero.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Instances For
      structure Miri.Interpreter.EntryArguments.Hooks (K User AddressPayload AllocPayload C : Type) :
      Instances For
        def Miri.Interpreter.EntryArguments.setup {K User AP EP C : Type} [DecidableEq K] (h : Hooks K User AP EP C) (choice : C) (machineKind : K) (args : Array String) :

        The exact source initialization order: all strings, argv array, argc cell, argv cell, optional UTF-16 command line, then return typed argc/argv for the captured main callback. Every byte/scalar write invokes real memory policies.

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

          Actual Miri source kind, without choosing ownership from a layout size.

          Equations
          Instances For