Repository navigation
fix(cli): guide analysts to typed incoming references - #8514
Merged
Merged
Conversation
3 tasks done
Contributor
[Low impact] The help-only changes appear safe to merge. SummaryUpdates two CLI help descriptions to expose the existing typed-reference workflow.
Reviews (4) · Last reviewed commit: "Merge commit 'ac30fbd' into HEAD" · Reviewed by Greptile |
morluto
marked this pull request as ready for review
November 1, 2026 18:23
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
3 tasks
This was referenced Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rea xrefsreturns untyped addresses, but its CLI help did not point to the existing typed-reference workflow;inspect-native-instructiondescribed only instruction decoding even though it can inspect incoming references at data addresses. The help now describes both and directs users to the target-address query when their provider supports it. Related: #8348.Problem and expected behavior
An analyst following a call or stored-pointer reference can discover the existing typed view from the CLI. Its availability remains provider-dependent.
Change and scope
Update the two CLI command descriptions. This is a usability change within the existing read-only analysis scope; no new provider capability or maintainer scope decision applies.
Contract and boundary impact
Expected effects:
Evidence and regression coverage
xrefs; MCP descriptions already did.xrefs --helpdirects users toinspect-native-instructionat the target address where supported;inspect-native-instruction --helpdescribes code or data addresses and typed incoming references.Validation performed
After merging main
0ecf3a4cbf, Node 24.22.1npm run test:focused -- tests/boundary/mcp/ghidraEvidenceMcp.test.tspassed 11 tests. The previous CI shard failure asserted stale Ghidra executable-byte wording; the merged test matches the current source-owned text.Both
xrefs --helpandinspect-native-instruction --helpran successfully on the merged branch and showed the typed-reference guidance. Full CI on the updated head is pending.npm run build:cached,npm run check:fast, andnpm run docs:check— passed.Real CLI
inspect-native-instructionon a self-built arm64 Mach-O with Ghidra 12.1.4 — returned a typed call and data reference; Kuna 1.988 returnedcapability_unavailableas expected. Target was unchanged and not executed.Real Ghidra MCP on the same fixture in full and compact schema profiles — successful workflow responses validated against their advertised schemas; xrefs and two instruction Evidence records survived export/import into a fresh session.
Compatibility, safety, and release
Main refresh
Head
9c36275dc8merges mainac30fbd658, including #9280’s correction to the shared formatting failure. The previously reported tests remain historical; the previously failing file passes a targeted formatting check on this head, and the PR diff passesgit diff --check. Hosted checks are pending.Author readiness
Human owner:
Before merge
type(scope): outcome.