On Mon Jun 16 12:10:45 2025 +0000, Nikolay Sivov wrote:
Flags magic looks important. We need more tests for regular "safe" API to see what flags are set to for normal frames. Depending on how "unsafe" this is, for frames placed on stack you can't do LdrShutdownThread() in a clean way currently, because it will HeapFree() it.
Maybe it checks the flag in LdrShutdownThread(). I will add some tests for normal frames.