A return-oriented programming defense from OpenBSD
A return-oriented programming defense from OpenBSD
Posted Sep 12, 2017 16:20 UTC (Tue) by zlynx (guest, #2285)In reply to: A return-oriented programming defense from OpenBSD by itvirta
Parent article: A return-oriented programming defense from OpenBSD
If only people would stop relying on the x86 / amd64 ISA.
Posted Sep 12, 2017 18:32 UTC (Tue)
by excors (subscriber, #95769)
[Link]
(ARMv7/AArch32 is similar but more confusing, because there are lots of mostly-deprecated ways of returning by using PC as a destination register, and you usually push/pop LR/PC in the same instruction as all the other registers you want to preserve (whereas AArch64 can only push/pop a pair of registers at once), and the Thumb instruction encoding has lots of limitations, and there are only half as many registers as AArch64, so a separate control stack might be significantly more expensive there.)
A return-oriented programming defense from OpenBSD