boostorg / context

307 stars 150 forks source link

i386 sysv elf assembly for make_fcontext seems to leave stack misaligned #210

Closed alexfusco5 closed 1 year ago

alexfusco5 commented 2 years ago

In this file, it seems to be leaving the resulting context stack misaligned. I'm fairly rusty with x86 assembly so I don't have a great handle on why this is the case, but it seems that the offset on line 44 should be 0x34 rather than 0x2c. The stack otherwise appears to be aligned improperly

olk commented 1 year ago

ty