Repository navigation
Conversation
|
@greptileai please review this MIPS I contribution at head 7eeb8ed. It adds a narrow recordless ELF32 ET_EXEC lane with explicit o32 headers, pins Ghidra's language, and preserves floating-point uncertainty. The real-provider verifier passed for little- and big-endian fixtures through production MCP, including loaded bytes, saved Evidence, replay and unchanged input hashes. The little-endian fixture also passed the production CLI. The fixtures were never executed. This does not claim a firmware corpus or Windows verification. |
[Medium impact] The reviewed changes appear safe to merge; no blocking issue was found. SummaryAdds a real Ghidra verifier for recordless MIPS32 admission and explicit-o32 MIPS I and GNU soft-float refusals in both byte orders.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Build both byte-order fixtures] --> B[Check CLI and MCP refusals]
B --> C[Open recordless MIPS32]
C --> D[Register provider run ID]
D --> E[Analyze and check public Evidence]
E --> F[Check language and entry bytes]
F --> G[Close child workflows]
G --> H[Scan registered run tokens]
H -->|Clean| I[Check lineage and report success]
H -->|Unresolved| J[Retry verified provider cleanup]
J --> K[Keep reports and diagnostics]
J -->|Still unresolved| L[Attach retryable cleanup owner]
Reviews (14) · Last reviewed commit: "Qualify MIPS32 boundaries and retain fai..." · Reviewed by Greptile |
|
@greptileai please re-review head 652ee67. Both verifier findings are addressed. The fixture check now observes the conditional Child stderr is inherited so startup and cleanup diagnostics remain visible when verification fails. A fresh real Ghidra 12.1.4/macOS arm64 run passed both endian MCP fixtures, byte/branch checks, retained FP uncertainty, snapshot replay, and LE production CLI. Original target hashes remain unchanged; targets were never executed. Native Linux/Windows, firmware corpus, FP semantics and the delay-slot relationship remain unverified. Pre-push typecheck/lint passed. Full upstream CI limitations are linked in the description. |
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 652ee67cf0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
652ee67 to
992216e
Compare
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 992216e8d1
ℹ️ 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".
992216e to
2b5c34b
Compare
2b5c34b to
d8630ea
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d8630eaf13
ℹ️ 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".
Preserve the MIPS I refusal until load-delay semantics are verified. Decode typed GNU attribute presence before making recordless ABI assumptions, and exercise both refusal paths plus existing MIPS32 controls through CLI/MCP. BREAKING CHANGE: ELF32 MIPS inputs with SHT_GNU_ATTRIBUTES are refused until those ABI declarations are parsed and reconciled. Preserve the original input and use a tool that understands its declared ABI; stripping metadata does not establish compatible semantics.
|
@greptileai please review narrowed head 5ec1a57. Both high-priority findings are addressed structurally. GNU attributes are detected by their typed section header and refused before ABI assumptions or section-payload allocation. The metadata regression fails on the previous reader. The MIPS I admission/profile and its provider claims were removed: generic Ghidra's immediate load assignment does not establish MIPS I load-delay semantics, so decoding an integer probe is insufficient. MIPS I stays unsupported with an explicit reason. 133 tests plus static/docs/discovery checks passed. Both endian MIPS I and GNU-attribute controls were refused through production CLI/MCP; GNU readelf independently decoded the soft-float attribute. Existing recordless MIPS32 controls still produced real Ghidra dossiers and exact loaded bytes. Input hashes remained unchanged and no target code was executed. GNU attribute parsing/reconciliation and MIPS I processor semantics remain future work. The description includes the refusal's compatibility change and migration guidance. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5ec1a57a29
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@greptileai please review latest head 05e2366. The replacement verifier now isolates both CLI/MCP children from ambient REA settings, propagates a process-run token, requires verified empty descendants before success, and pins GNU readelf to the C locale. A real both-endian run passed under a poisoned ambient seed/analyzer configuration and conflicting parent locale, with unchanged input hashes and no target execution. All 135 focused tests and static/docs checks passed. MIPS I admission remains withdrawn; GNU ABI attributes are refused until parsed and reconciled. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 05e23666d8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Share tagged readiness observations, retain partial provider facts, authenticate bridge identity, bound diagnostics, and preserve cancellation and lost-session reasons. Fail closed for unparsed MIPS ABI attributes and macOS saved Hopper databases without a script-capable bridge route. Reviewed fixes: #2010, #2108, #2513, #2695, #2731, #2771, #2828, #2867, #2868, #2870, #2880, #2919, #2945, #2961, #2981, #2998, #3000, #3002. Validation: 285 focused source/boundary tests passed. Real Ghidra, IDA, Linux Hopper, and Windows provider runs were not repeated. BREAKING CHANGE: MIPS targets with unresolved GNU ABI attributes and saved Hopper databases on macOS are refused rather than advertised as supported.
|
Heads up: main covers this in its own way in d4bd65c. The code is in Edit (24 Oct): I re-read the branch on e389016, without running anything. The follow-up is here. 🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊 |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
The three review fixes are on @greptileai please review @morluto, could you approve the current commit’s upstream workflows? CI · PR title · CodeQL |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 624b8799db
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Check the authenticated public Evidence for the active Ghidra version, the expected legacy support lane, and the inferred o32 basis.
|
The verifier fixes are pushed in @morluto, could you approve the upstream CI, PR title, and CodeQL for this commit? Author readiness |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 779a635960
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Use the existing owned verifier command runner with a ten-second deadline so stalled wrappers and inherited pipes cannot block final cleanup.
|
@greptileai please review the current head, |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 19a9f98352
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Verify the exact authenticated subject and requested function before reporting MIPS dossier evidence.
|
@greptileai review Please use the current head, |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a5b0822f1
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Record the bounded GNU reader's selected command, version, and raw attributes, and verify the committed Ghidra profile and complete entry-byte observation.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2d1ee37c14
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Require the dossier's canonical path to match the selected ELF and retain the checked public CLI and MCP failure output for both refusal controls.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7494b2b1d1
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Retain process-family cleanup and accept only an ordinary exit-one provider refusal, preserving timeout and incomplete cleanup errors.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99b91265cf
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Retry registered provider cleanup with the canonical ownership ledger and preserve the initial failure and recovery diagnostics.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7d9257581d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Use the same owned stdio transport as the artifact verifier. Keep its process family and retryable close with the command owner, and sweep the transport token after reparenting. Retain each separate Ghidra session through the existing provider ownership checks.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3596755f2a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@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: 10510729b9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| for (const setting of [ | ||
| "GHIDRA_HEADLESS_MAXMEM", | ||
| "GHIDRA_MAXMEM", | ||
| "REA_GHIDRA_STARTUP_TIMEOUT_MS", | ||
| ]) { |
There was a problem hiding this comment.
Preserve Darwin ownership settings in child environments
When this verifier runs on macOS with the supported ownership-helper overrides (REA_DARWIN_SWIFTC_PATH plus SDKROOT, REA_DARWIN_MODULE_CACHE_PATH, or REA_SWIFTC_COMPILE_TIMEOUT_MS), this allowlist drops them from the MCP child environment. The MCP server must prepare the Darwin run-token inspector before launching Ghidra, and that inspector reads these variables (src/process/ProcessOwnershipObservation.ts:1194-1215); consequently an enforced-write-boundary or extended-compile setup documented in docs/guides/runtime/process-capture.md:672-725 falls back to xcrun, the default cache, and the 120-second deadline and can fail before exercising MIPS despite the parent being correctly configured. Add these ownership-only prerequisites to the minimal allowlist without restoring result-affecting REA settings.
AGENTS.md reference: AGENTS.md:L13-L13
Useful? React with 👍 / 👎.
|
TL;DR: I ran head 1051072 on Node 22.23.4, 24.22.1 and 26.12.1. Both changed test files passed each time, 111 tests in all. The real-Ghidra MIPS verifier also passed, on Ghidra 12.2 in both byte orders. My last comment tested head a830a4a. This run is on head 1051072. ResultsThe two files were
Real Ghidra MIPS checkI also ran
CI and branch
Not run
Test setup
Commands🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊 |
Summary
Add a real Ghidra boundary verifier for the existing recordless MIPS32 ELF32 lane and provider cleanup. The positive control checks the imported language, exact entry bytes, committed provider profile, and public ABI caveats in both byte orders. Recordless MIPS I load-delay semantics require separate verification. This PR checks the existing explicit-o32 MIPS I and GNU soft-float refusals through both CLI and MCP.
The verifier preserves completed byte-order reports after failure, along with any cleanup diagnostics. When bounded recovery leaves a verified provider process unresolved, the failure carries the live, retryable cleanup owner in-process. The retained workspace contains observations for post-exit diagnosis.
Validation
10510729b, real Ghidra 12.1.4 passed both byte orders and all three token scopes. CLI and MCP both returnedcapability_unavailablefor the refusal fixtures.Related to #2734.
Author readiness
Human owner: @Bobtoshi