Skip to content

[AUTOMATED] Honor DWARF reference forms in TypeMatch - #120

Open
sjkim1127 wants to merge 1 commit into
Noelo-Lab:mainfrom
sjkim1127:codex/dwarf-type-reference-forms
Open

sjkim1127 wants to merge 1 commit into
Noelo-Lab:mainfrom
sjkim1127:codex/dwarf-type-reference-forms

Conversation

@sjkim1127

Copy link
Copy Markdown
Contributor

[AUTOMATED]

TypeMatch treated every DWARF type and abstract-origin reference as CU-relative. Let pyelftools resolve each reference by its encoded form and bump the TypeMatch cache version from 18 to 19. This separates the DWARF reference fix from #91.

In three Clang LTO ELF fixtures, the reader now recovers a four-byte int argument previously reported as void. The AArch64 DWARF 5 fixture still excludes that argument because its loclistx location is unsupported. All 104,930 variable records matched the baseline across 30 C and C++ ELF binaries. The focused suite passed 64 tests.

[AUTOMATED]

Delegate type and abstract-origin references to pyelftools so absolute
offsets and signatures use their encoded form. Invalidate cached scores.
@sjkim1127
sjkim1127 marked this pull request as ready for review November 14, 2026 00:54
Copilot AI balanced review requested due to automatic review settings November 14, 2026 00:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

This branch has not been deployed

No deployments
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.

2 participants