This might be relevant material about stack handling in windows NT:
https://stackoverflow.com/questions/8400118/what-is-the-purpose-of-the-chkst... https://archive.is/J01oT https://docs.microsoft.com/en-us/windows/win32/devnotes/-win32-chkstk https://bugs.llvm.org/show_bug.cgi?id=36221 https://bugs.llvm.org/show_bug.cgi?id=21896 ...