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

ABI considerations regarding stack unwinding on Windows #198

Open
briansmith opened this issue Feb 27, 2025 · 3 comments
Open

ABI considerations regarding stack unwinding on Windows #198

briansmith opened this issue Feb 27, 2025 · 3 comments

Comments

@briansmith
Copy link

Could you please document the approach for handling stack unwinding on Windows. In the OpenSSL/BoringSSL code base the stack unwinding machinery is a source of concern, so it is nice to not see a similar approach. However, also, there doesn't seem to be any indications of how the project intends to support stack unwinding.

(In cryptogams, Andy changed some (all?) of the unwinding to be declarative.)

@jargh
Copy link
Contributor

jargh commented Mar 7, 2025

We don't have much to say, currently (though we can say that explicitly of course). Can you recommend a reference or some models for what you would consider the right approach, if any? If it seems feasible to support it readily, we probably want to try and do so, and either way we can be more explicit in our documentation.

@briansmith
Copy link
Author

Here is the relevant reference from Microsoft: https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-170#unwindability

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

2 participants