Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeroize: stack zeroization support #810

Open
tarcieri opened this issue Oct 11, 2022 · 0 comments
Open

zeroize: stack zeroization support #810

tarcieri opened this issue Oct 11, 2022 · 0 comments

Comments

@tarcieri
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant