[all-commits] [llvm/llvm-project] 9b9b19: [X86][Disassembler] Reject instructions longer tha...
Charles Zablit via All-commits
all-commits at lists.llvm.org
Fri Jul 10 02:42:16 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9b9b19364dfb5ba2984a0970928b7ad95569e88a
https://github.com/llvm/llvm-project/commit/9b9b19364dfb5ba2984a0970928b7ad95569e88a
Author: Charles Zablit <c_zablit at apple.com>
Date: 2026-07-10 (Fri, 10 Jul 2026)
Changed paths:
M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
A llvm/test/MC/Disassembler/X86/x86-64-instruction-length.txt
Log Message:
-----------
[X86][Disassembler] Reject instructions longer than 15 bytes (#208277)
An x86 instruction can be at most 15 bytes. The decoder already checks
for overruns but only emits an `LLVM_DEBUG` message and still returns
`Success`. This patch returns `Fail` instead, so `getInstruction()`
never reports a size
that isn't a valid instruction length.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list