Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

objtool/x86: Add UDB support

Per commit 85a2d4a890dc ("x86,ibt: Use UDB instead of 0xEA"), make
sure objtool also recognises UDB as a #UD instruction.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>

+4
+4
tools/objtool/arch/x86/decode.c
··· 683 683 insn->type = INSN_SYSRET; 684 684 break; 685 685 686 + case 0xd6: /* udb */ 687 + insn->type = INSN_BUG; 688 + break; 689 + 686 690 case 0xe0: /* loopne */ 687 691 case 0xe1: /* loope */ 688 692 case 0xe2: /* loop */