You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
main(){asm("ud2");}\$\endgroup\$00 00 0f 0bis the machine language forud2... \$\endgroup\$00bytes; they're not part of the machine code for UD2. BTW, as I commented on Dennis's answer, there are one-byte illegal instructions in x86-64 for now, but they're not guaranteed to stay that way. \$\endgroup\$00 00decodes the same in x86-64 (asadd [rax], al).00 00 0f 0bwould usually SIGSEGV before SIGILL, unless you happened to have a writeable pointer inrax. \$\endgroup\$