Skip to content

fix(managed): retain Module identity when its name is unreadable - #12441

Merged
morluto merged 1 commit into
mainfrom
fix/managed-module-invalid-name
Nov 19, 2026
Merged

morluto merged 1 commit into
mainfrom
fix/managed-module-invalid-name

Conversation

@morluto

@morluto morluto commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

A malformed Module name used to discard an independently readable MVID even when the metadata contained one checked Module row. The Module reader now preserves the row coordinates, raw name index, and readable GUIDs through the existing unresolved-name record. Inventory and comparison retain the original name diagnostic and partial coverage.

Related to #12259. The existing multiple-row behavior remains in place. The TypeDef and MethodDef identity work is tracked in that issue.

Validation

The new regression reproduced the missing MVID before the fix. Its two-row control confirms that no unresolved Module identity is selected. After the fix, 230 tests passed across six suites, including compiled CLI and MCP. check:fast, formatting, and diff checks passed. Validation used authored inert metadata fixtures.

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:24:59.408133Z fceba2c 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; no actionable defects were found.

Summary

The PR preserves a unique Module row’s coordinates and readable GUIDs when its name cannot be read.

  • Managed reports keep a readable MVID when a Module name is unreadable.

Review was source-only; no tests were run. GitHub access required authentication, so whether another PR supersedes this one could not be checked.

Reviews (2) · Last reviewed commit: "fix(managed): retain module identity whe..." · Reviewed by Greptile

@morluto
morluto enabled auto-merge (squash) November 19, 2026 17:25
@morluto
morluto merged commit 760478c into main Nov 19, 2026
40 checks passed
@morluto
morluto deleted the fix/managed-module-invalid-name branch November 19, 2026 17:47
@morluto morluto added the bug Something isn't working label Nov 22, 2026
@morluto morluto added the area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior label Nov 26, 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