Skip to content

Conversation

@sensille
Copy link

Several distributions strip the .symtab and .strtab sections from the elf and re-add them in compressed form in the section .gnu_debugdata. This is also called MiniDebugInfo.
This patch adds support for it.

There might be a better way to integrate it. I struggled a lot with lifetimes. In my understanding the selected solution should be safe, but it would be much better to find a way to convince the compiler of it without the use of unsafe.

Please let me know if this is something you can use and what is missing in this patch.

Several distributions strip the .symtab and .strtab sections from the elf
and re-add them in compressed form in the section .gnu_debugdata. This
is also called MiniDebugInfo.
This patch adds support for it.
@codecov
Copy link

codecov bot commented Jan 24, 2026

Codecov Report

❌ Patch coverage is 41.66667% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.74%. Comparing base (66f40d1) to head (76f2b92).
⚠️ Report is 35 commits behind head on main.

Files with missing lines Patch % Lines
src/elf/parser.rs 41.66% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1444      +/-   ##
==========================================
- Coverage   95.85%   95.74%   -0.11%     
==========================================
  Files          61       61              
  Lines       11076    11148      +72     
==========================================
+ Hits        10617    10674      +57     
- Misses        459      474      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sensille sensille marked this pull request as draft January 26, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant