Skip to content

Nonreturn methods are problematic #226

@sei-eschwartz

Description

@sei-eschwartz

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 :-(

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions