SUNDAY, APRIL 19, 2026 GLIBC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The glibc Digest
— A Daily Record of the GNU C Library —
sframe Proposed

sframe: Add SFrame v3 decode support for regular FDEs

This patch adds support for decoding SFrame v3 format, which includes changes to function descriptor layouts and stack trace backtracing.

This patch adds SFrame v3 format definitions and updates backtrace routines to handle both v2 and v3 function descriptor layouts. The updated stack trace backtracer detects the outermost frame, reads v3 index/attribute records, performs bounds checks, and uses int64_t PC/start-address handling. The patch looks good, with a minor indentation nit.

Technical Tradeoffs

  • Adds complexity to the sframe decoding logic.
  • Requires careful handling of different SFrame versions.
  • May introduce performance overhead due to additional checks and processing.
  • Needs to maintain compatibility with existing SFrame v2 implementations.
Filed Under: sframebacktracingdebuggingFDEv3