unix/foreign_items.rs::is_dyn_sym, dlsym and _Unwind_RaiseException. Dynamic symbols remain FnVal::Other; data symbols remain their actual pointers.
@[reducible, inline]
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
- signatures : ShimSignatures.PrimitiveHooks Memory.Provenance S
- targetEnv : String
- readUsize : OpTy Memory.Provenance → M S UInt64
- readPointer : OpTy Memory.Provenance → M S (Memory.Pointer (Option Memory.Provenance))
- readCString : Memory.Pointer (Option Memory.Provenance) → M S ByteArray
- functionPointer : Symbol → M S (Memory.Pointer (Option Memory.Provenance))
- externStatic : String → M S (Option (Memory.Pointer (Option Memory.Provenance)))
- writePointer : Memory.Pointer (Option Memory.Provenance) → MPlaceTy Memory.Provenance → M S Unit
- writeNull : MPlaceTy Memory.Provenance → M S Unit
- startUnwind : OpTy Memory.Provenance → M S Unit
Instances For
def
Miri.Interpreter.UnixDynamic.emulate
{Place S B I : Type}
(h : Hooks S Place B I)
(name : String)
(abi : ABI.FnAbi MIR.TyId)
(args : Array (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.UnixDynamic.bindStrings
{Place S B I : Type}
(strings : MemoryShims.Hooks Memory.Provenance S Place (MPlaceTy Memory.Provenance) B I)
(scanBudget : Nat)
(base : Hooks S Place B I)
:
Hooks S Place B I
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixDynamic.bindFunctions
{Place K U Other B I : Type}
(functions : FunctionPointers.Hooks K U Other)
(inject : Symbol → Other)
(base : Hooks (MachineHooks.State K U) Place B I)
:
Hooks (MachineHooks.State K U) Place B I
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixDynamic.bindStatics
{Place U K B I : Type}
(statics : U → ExternStatic.State)
(base : Hooks (MachineHooks.State K U) Place B I)
:
Hooks (MachineHooks.State K U) Place B I
Actual exported data symbols share the machine's ExternStatic map; the source checks them only after the dynamic-function whitelist.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixDynamic.bindUnwind
{Place K U C Other B I : Type}
(unwind : Unwind.Hooks K U C Other)
(choice : C)
(base : Hooks (MachineHooks.State K U) Place B I)
:
Hooks (MachineHooks.State K U) Place B I
Equations
- One or more equations did not get rendered due to their size.