Crate gc_shadowstack

Source
Expand description

Shadow stack implementation for rooting in GCs

§Description

Unlike other algorithms to take care of rooted objects like use reference counting to take count of instances on stack, this algorithm maintains a singly linked list of stack roots. This so-called “shadow stack” mirrors the machine stack. Maintaining this data is much faster and memory-efficent than using reference-counted stack roots, it does not require heap allocation, and does not rely on compiler optimizations.

Re-exports§

pub use mopa;
pub use paste;

Modules§

dummy
Dummy module that generates shadow stack type to see documentation of all APIs provided.

Macros§

dummy_letroot
Create rooted value and push it to provided shadowstack instance.
gc_shadowstack
Instatiate shadow stack type that can work with your GC API.