Skip to content

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

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

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.

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.

1 participant