Repository navigation
fix(ida): preserve non-x86 call edges and workflow uncertainty - #1906
Conversation
… degrade without callgraph
…rding and a complete ARM64 traversal
…ualify truncation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1945d28606
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…to fail the callee read
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bc29ba9831
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Looks great! Thank you for this @nikolay-dementiev |
Modern headless IDA reported missing or false callee edges on non-x86 targets because upstream
calleeschecks x86 instruction IDs. This branch uses processor-neutralcallgraphas the sole function-edge source for targets not proven x86-only. It also carries relationship limitations through graph and path workflows, so an empty unsupported observation no longer appears complete.Fixes #1794
The contributor's original commits remain in the branch; the review follow-up completes the provider and workflow boundaries together.
lookup_funcsonce to enrich observed targets. Missing or typed failed name lookup retains the graph-observed address with a limitation.calleesfalse positives into graph observations.limitationstoget_call_graph, carry limited expansions intotrace_call_pathresidual unknowns, and prevent limited function Evidence from establishing exhaustive call-path absence. Observed paths remain visible.Validation on macOS, Node 24.18.0:
Upstream semantics were checked against pinned source
c133c3853faa111a9b00ee615c013b720d0c4acd:callgraphappends root edges before recursing, so depth zero skips child scans while retaining root edges. DeepWiki incorrectly claimed the depth-zero test asserts empty edges; the actual test only asserts the root node. Primary source: https://github.com/mrexodia/ida-pro-mcp/blob/c133c3853faa111a9b00ee615c013b720d0c4acd/src/ida_pro_mcp/ida_mcp/api_analysis.py#L2469-L2595Real-provider scope: the original contributor reported IDA 9.1 macOS ARM64/x86 runs before this follow-up. This follow-up was verified with the production adapter over controlled protocol boundaries, not a licensed IDA engine. Depth-zero behavior and name enrichment still need a real IDA run; Windows/Linux and other IDA versions were not executed. No GUI database is saved or closed, and no process ownership authority changes.
Review follow-up e5764d0: a valid depth-zero callgraph with
per_func_capped: truenow reports definite root truncation even below the edge cap. Focused selector/provider workflow checks pass (28 tests), preserving the signal through direct callees, call graph and call trace; fast and docs checks pass. No additional real IDA verification.