research if it's possible to add some checks to #[global_allocator] to prevent memory misuse
example misuse:
- module A creates Vec
*mut Vec is passed via host to module B (different global allocator)
- module B pushes something to the vec, tries to dellocate old allocation (owned by module A)
- boom
research if it's possible to add some checks to
#[global_allocator]to prevent memory misuseexample misuse:
*mut Vecis passed via host to module B (different global allocator)