[PATCH 2/2] gas: sframe: Add test for signal frame with unsupported CFI

Project / Subsystem

binutils / gas

Date

2026-07-29

Proposer

Jens Remus <jremus@linux.ibm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Ensuring robustness of SFrame generation with malformed CFI.
  • • Graceful error handling vs. strict enforcement of CFI rules.
  • • Maintaining compatibility with different CFI specifications.

All attributes

project
binutils
subsystem
gas
patch_id
—
discussion_id
20260729163445.2563223-3-jremus@linux.ibm.com
source_type
public_inbox
title
[PATCH 2/2] gas: sframe: Add test for signal frame with unsupported CFI
headline
gas: sframe: Add test for signal frame with unsupported CFI
tldr
Adds a test case for gas's SFrame generation when encountering unsupported CFI directives in signal frames.
proposer
Jens Remus <jremus@linux.ibm.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Ensuring robustness of SFrame generation with malformed CFI.
  • • Graceful error handling vs. strict enforcement of CFI rules.
  • • Maintaining compatibility with different CFI specifications.
series_id
binutils:gas: sframe: add test for signal frame with unsupported cfi
series_role
reply
series_parts
[]
tags
  • • binutils
  • • gas
  • • sframe
  • • cfi
  • • debugging
bugzilla_url
—
date
2026-07-29T00:00:00.000Z

[PATCH 2/2] gas: sframe: Add test for signal frame with unsupported CFI

This patch introduces a new test case for the GNU Assembler’s (gas) SFrame generation mechanism. It specifically targets scenarios where unsupported Call Frame Information (CFI) directives are used within signal frames, ensuring that gas behaves correctly by producing an empty FDE (Frame Description Entry) instead of crashing or generating invalid data.