From 93e50695eb076d491af7802dd9e4b8e293938b4a Mon Sep 17 00:00:00 2001 From: Ralf Anton Beier Date: Mon, 11 May 2026 05:56:28 +0200 Subject: [PATCH] chore: release v0.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DWARF Phase 1.5 (#135 / sub-#130): switch the default DWARF policy from silent passthrough to explicit Strip. Passing input `.debug_*` sections through verbatim produces wrong source-line attribution against the merged code section — strictly worse than no DWARF for downstream MC/DC tooling. `DwarfHandling::PassThrough` remains available for callers that knowingly accept the lossy mapping. This is a behaviour-changing default but the change is contained: non-debug-info input is unaffected, and PassThrough preserves the prior shape for any callers that need it. LS-CP-4 added. --- CHANGELOG.md | 13 +++++++++++-- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b03b435..9df68f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [Unreleased] +## [0.7.0] — 2026-05-11 ### Added @@ -16,13 +16,22 @@ All notable changes to this project will be documented in this file. `PassThrough` is opt-in for the rare case a caller wants the lossy prior behaviour. Recorded in attestation `tool_parameters` as `dwarf_handling = "strip" | "passthrough"`. Verified by - `meld-core/tests/dwarf_strip.rs`. + `meld-core/tests/dwarf_strip.rs`. Lands #135. ### Safety / STPA - New approved loss scenario: **LS-CP-4** (DWARF passthrough emits address-incorrect debug info on fused output, [H-7]). +### Breaking + +- Default DWARF handling changed: `.debug_*` sections are now dropped + from fused output by default. Callers that previously relied on + passed-through DWARF must opt in with + `FuserConfig { dwarf_handling: DwarfHandling::PassThrough, .. }`, + understanding that the addresses inside those sections do not match + the merged code section. + ## [0.6.0] — Unreleased ### Added diff --git a/Cargo.lock b/Cargo.lock index 282b8b6..d863753 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1370,7 +1370,7 @@ checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" [[package]] name = "meld-cli" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "clap", @@ -1385,7 +1385,7 @@ dependencies = [ [[package]] name = "meld-core" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "bitflags", diff --git a/Cargo.toml b/Cargo.toml index a883c96..5a29e42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ exclude = [ ] [workspace.package] -version = "0.6.0" +version = "0.7.0" authors = ["PulseEngine "] edition = "2024" license = "Apache-2.0"