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

Nonreturn methods are problematic #226

Open
sei-eschwartz opened this issue Jul 6, 2022 · 0 comments
Open

Nonreturn methods are problematic #226

sei-eschwartz opened this issue Jul 6, 2022 · 0 comments
Assignees
Labels

Comments

@sei-eschwartz
Copy link
Collaborator

Example: 0x412780 in ooex_vs2010/Debug/ooex7

void __thiscall std::string::_Xran(std::string *this)

This method is basically a utility function that calls std::Xout_of_range, which is noreturn.

The compiler does weird stuff with respect to stack cleanup: https://godbolt.org/z/x5Wh4M3rT

This causes us to get confused about the calling convention :-(

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

No branches or pull requests

2 participants