utils icon indicating copy to clipboard operation
utils copied to clipboard

zeroize: stack zeroization support

Open tarcieri opened this issue 2 years ago • 0 comments

It would be nice to be able to zeroize the stack, particularly being able to track how deep the stack grew while executing a particular section of code, and then zeroing out that whole portion of the stack.

This crate might provide the functionality needed to implement such functionality: https://crates.io/crates/psm

Additionally some proc macro annotation might be needed like #[sensitive] which could inject code to instrument the stack and track its depth.

tarcieri avatar Oct 11 '22 23:10 tarcieri