Skip to content

fix(managed): keep empty definition names out of member identity - #12448

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

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

Conversation

@morluto

@morluto morluto commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

A nil or empty TypeDef or MethodDef name could create a nominal identity and let comparison claim exact coverage. Required-name decoding now rejects these names through the same row readers used by inventory, member inspection, and native boundary analysis. Diagnostics keep the local token and Name column offset. A valid nil namespace still produces an unqualified name. A readable method under an unresolved declaring type keeps its local token and body.

Related to #12259 and #12441. A public collection of unnamed row coordinates is still a separate contract decision.

Validation

Four authored nil and nonzero-empty name cases reported complete before the fix. The same cases now report partial coverage and unknown nominal comparison, with a valid nil-namespace control. All 533 focused tests passed across eight suites, including CLI/MCP comparison. check:fast, formatting, and diff checks passed.

ECMA-335, Partition II, sections 22.26 and 22.37

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:38:33.509463Z 894976a 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

Confidence Score: 5/5 · The PR appears safe to merge; no actionable defects were found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Rejects nil and empty TypeDef and MethodDef names before they can supply name-based identities.

  • Managed inspection rejects empty type and method names as identities.

Reviews (2) · Last reviewed commit: "fix(managed): keep empty definition name..." · Reviewed by Greptile

@morluto
morluto enabled auto-merge (squash) November 19, 2026 17:40
@morluto
morluto merged commit 4377c1a into main Nov 19, 2026
40 checks passed
@morluto
morluto deleted the fix/managed-empty-row-names branch November 19, 2026 17:51
@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