[PATCH 0/2] sframe: Add SFrame V3 stack backtracing support

claudiu.zissulescu-ianculescu@oracle.com claudiu.zissulescu-ianculescu@oracle.com
Tue Apr 14 12:23:09 GMT 2026


From: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>

Hello,

Please find a set of two patches that adds stack backtracing support
for the new SFrame V3.

The first patch is adding support for default FDEs by changing the
reading functions in sframe-read.c and sframe.c files.

The second patch is adding support for the new FLEX FDEs. The FLEX
FDEs are enabled when CFI [atterns require it and target hooks allow
it. This patch adds the necessary bits for implementing it for x86_64
and aarch64 targets. A new test is added too.

Best wishes,
Claudiu

Claudiu Zissulescu (2):
  sframe: Add SFrame v3 decode support for regular FDEs
  sframe: add v3 FLEX FDE unwind support and tests

 debug/Makefile                                |   3 +
 debug/tst-backtrace-flex.c                    | 164 ++++++
 sysdeps/generic/sframe-read.c                 | 478 ++++++++++++++----
 sysdeps/generic/sframe-read.h                 |  17 +-
 sysdeps/generic/sframe.c                      | 141 +++++-
 sysdeps/generic/sframe.h                      | 175 ++++++-
 sysdeps/unix/sysv/linux/aarch64/uw-sigframe.h |   6 +
 sysdeps/unix/sysv/linux/x86_64/uw-sigframe.h  |   6 +
 8 files changed, 866 insertions(+), 124 deletions(-)
 create mode 100644 debug/tst-backtrace-flex.c

-- 
2.53.0



More information about the Libc-alpha mailing list