CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/06/21 13:23:12
Modified files:
gnu/usr.bin/binutils-2.17/gas/config: tc-i386.c
Log message:
Large nopsleds make it easier for ROP machinery to sloppily reach targets.
Convert these to "trapsleds' instead. Since these can occur inside
fall-through blocks of code (and gcc sure isn't helping us by identifying
those), convert most to "short jump over" followed a sequence of int3.
This works for sled sizes 3-15, for i386 and amd64. Work by Todd Mortimer
ok mlarkin