Crate monitor_api
source ·Expand description
This crate exists to break a circular dependency between twz-rt and monitor. We use extern symbols so that we can just call into the monitor without having to have it as an explicit dependency.
Modules
Structs
- An iterator over a compartmen’s dependencies.
- Compartment state flags.
- A compartment handle. On drop, the compartment may be unloaded.
- Information about a compartment.
- A builder-type for loading compartments.
- A handle to a loaded library. On drop, the library may unload.
- Contains information about a library loaded into the address space.
- An iterator over libraries in a compartment.
- A builder-type for loading libraries.
- Contains raw mapping addresses, for use when translating to object handles for the runtime.
- Shared data between the monitor and a compartment runtime. Written to by the monitor, and read-only from the compartment.
- Information about a monitor-generated TLS template.
Enums
Functions
- Get a reference to this compartment’s SharedCompConfig.
- Tries to set the comp config pointer. May fail, as this can only be set once. The comp config pointer is automatically determined if get_comp_config is called without comp config being set, by cross-compartment call into monitor.