Skip to content

fix(managed): reject empty names in saved member comparisons - #12451

Merged
morluto merged 1 commit into
mainfrom
fix/managed-historical-empty-names
Nov 19, 2026
Merged

morluto merged 1 commit into
mainfrom
fix/managed-historical-empty-names

Conversation

@morluto

@morluto morluto commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

Saved managed member Evidence from older producers can contain an empty required name alongside recorded complete coverage. Comparison now excludes those names from nominal identity, including recorded nested types whose identity depends on an empty enclosing name. The original Evidence remains readable and unchanged. Independently named siblings remain comparable, and unmatched observations remain unknown when the recorded empty name prevents deciding whether a counterpart exists.

Related to #12259 and #12448. The latter fixes new producer output.

Validation

Authored comparisons and a replay of pre-fix inspection output reproduced false exact matches for empty TypeDef and MethodDef names, including nested types. The exact branch passed 351 tests across four suites, including compiled CLI/MCP. A clean combined tree with #12448 passed all 110 managed metadata comparison tests. check:fast and diff checks passed.

Author readiness

Human owner: @morluto

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T17:47:25.384813Z aa23e46 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge.

Summary

This PR makes saved managed-member comparisons treat recorded empty type and method names as unknown identity, without changing the saved Evidence.

  • Saved comparisons leave empty managed names unresolved.

No actionable issues were found.

Reviews (1) · Last reviewed commit: "fix(managed): reject empty names in save..." · Reviewed by Greptile

@morluto
morluto enabled auto-merge (squash) November 19, 2026 17:49
@morluto
morluto merged commit f6a7db0 into main Nov 19, 2026
40 checks passed
@morluto
morluto deleted the fix/managed-historical-empty-names branch November 19, 2026 18:04
@morluto morluto added bug Something isn't working area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant