[llvm-commits] [PATCH] improve ARM halt encoding

JF Bastien jfb at chromium.org
Wed Jan 16 12:46:15 PST 2013


I've attached a patch from PNaCl with changes the ARM halt encoding so that
it also looks like a halt in Thumb. This can catch bugs when executing ARM
code as Thumb, whether it be in the context of compiler/JIT bugs, or an
attacker trying to get validated ARM code to execute as Thumb (which is a
concern for PNaCl).

Note that the instruction itself isn't changing (it's still UDF), only the
immediate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130116/06ae911a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-halt.diff
Type: application/octet-stream
Size: 2105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130116/06ae911a/attachment.obj>


More information about the llvm-commits mailing list