Retrospring is shutting down on 1st March, 2025 Read more

BOSSGUY • GIRLBOSS • BOSSBABY · 27d

How does unwinding work in x86 doesn't the variable length instructions mess with it?

It really depends. With Frame Pointers, the simplest one, it is only a matter of unwinding using the value at EBP. But again, that depends on the OS since some platforms don't give you a FP (FPO or using either mechanic like SjLj, SEH, DWARF EH, etc.)

Retrospring uses Markdown for formatting

*italic text* for italic text

**bold text** for bold text

[link](https://example.com) for link