News for hackers. Stuff that matters.
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:

    define i64 @crash() nounwind uwtable readnone optsize {
      ret i64 undef
    }
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.

There are no comments on this comment yet.