Add support for chained UNWIND_INFO
Open
bug
- Dominant language
- C++
- Stars
- 99
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
When building with optimizations, the compiler can chain `RUNTIME_FUNCTION` and `UNWIND_INFO` structures.
Also see:
* https://docs.microsoft.com/en-us/cpp/build/exception-handling-x64?view=msvc-160#chained-unwind-info-structures
* https://habr.com/ru/company/aladdinrd/blog/322956/
* https://stackoverflow.com/questions/19808172/struct-runtime-function
If this isn't taken into account, the [RIP update](https://github.com/DymOK93/KTL/blob/master/runtime/src/exc_engine/x64/unwind_handler.cpp#L210) won't be read from the return address, but from an arbitrary place on the stack.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.