Re:IDIV DoS (INT_MIN / -1)
by derleth on Sunday January 27, 2013 @09:53PM
(#5126842)
Here's the LLVM code that clang-3.0-6ubuntu3 emits:
In machine code terms, on x86-64 this turns into a function composed entirely of the ret opcode. gcc-4.6 adds an xor eax, eax before the ret.
[ Parent
| on HN ]
There are no comments on this comment yet.