[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/30848] New: gas x86-64: Internal error occurs while handling `b
From: |
jwlee2217 at softsec dot kaist.ac.kr |
Subject: |
[Bug gas/30848] New: gas x86-64: Internal error occurs while handling `bnd` |
Date: |
Thu, 14 Sep 2023 04:05:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30848
Bug ID: 30848
Summary: gas x86-64: Internal error occurs while handling `bnd`
Product: binutils
Version: 2.41
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: jwlee2217 at softsec dot kaist.ac.kr
Target Milestone: ---
```
$ cat examples/bug1_1.s
.intel_syntax noprefix
bnd andn R11, R12, R13
$ ./as examples/bug1_1.s
examples/bug1_1.s: Assembler messages:
examples/bug1_1.s:2: Error: expecting valid branch instruction after `bnd'
examples/bug1_1.s:2: Internal error in output_insn at config/tc-i386.c:9795.
Please report this bug.
```
When the bnd prefix is used with non-control-flow instructions, the internal
error shown in the example occurs. We can also observe this exception with
other instructions, for example, `bnd vxorps xmm0, xmm0, [r13]`. However, not
all instructions cause the error. For example, GAS rejects `bnd xor rax, rbx`,
without any internal errors. Note that this issue is not intel syntax-specific.
This bug can be reproduced using the binutils version 2.41.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/30848] New: gas x86-64: Internal error occurs while handling `bnd`,
jwlee2217 at softsec dot kaist.ac.kr <=