[PATCH 18/23] aarch64: Add QLF_ERR to aarch64_opnd_qualifiers

Project / Subsystem

binutils / aarch64

Date

2026-05-07

Proposer

Alice Carlotti <alice.carlotti@arm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Increases the size of the `aarch64_opnd_qualifiers` array.
  • Adds a defensive measure against potential out-of-bounds accesses, which are unlikely to occur in practice.

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
26909d61-82f2-24f3-e29f-75850ff733b5@e124511.cambridge.arm.com
source_type
public_inbox
title
[PATCH 18/23] aarch64: Add QLF_ERR to aarch64_opnd_qualifiers
headline
Aarch64: Add QLF_ERR to aarch64_opnd_qualifiers
tldr
Add an explicit entry for `AARCH64_OPND_QLF_ERR` in `aarch64_opnd_qualifiers` for completeness and robustness.
proposer
Alice Carlotti <alice.carlotti@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Increases the size of the `aarch64_opnd_qualifiers` array.
  • Adds a defensive measure against potential out-of-bounds accesses, which are unlikely to occur in practice.
series_id
binutils:aarch64: add qlf_err to aarch64_opnd_qualifiers
series_role
reply
series_parts
[]
tags
  • aarch64
  • assembler
  • qualifier
  • robustness
bugzilla_url
date
2026-05-07T00:00:00.000Z

[PATCH 18/23] aarch64: Add QLF_ERR to aarch64_opnd_qualifiers

This patch adds an entry for AARCH64_OPND_QLF_ERR to the aarch64_opnd_qualifiers array. Although this entry should ideally never be used, its presence ensures that the array length matches the enum length, improving code robustness and preventing potential out-of-bounds memory accesses, though such accesses would have been detected previously.