Skip to content

test(ghidra): verify current MIPS admission and orphan cleanup - #2919

Open
Bobtoshi wants to merge 25 commits into
morluto:mainfrom
Bobtoshi:codex/mips1-verification
Open

Bobtoshi wants to merge 25 commits into
morluto:mainfrom
Bobtoshi:codex/mips1-verification

Conversation

@Bobtoshi

@Bobtoshi Bobtoshi commented Oct 13, 2026 •

Copy link
Copy Markdown

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

  • On 10510729b, real Ghidra 12.1.4 passed both byte orders and all three token scopes. CLI and MCP both returned capability_unavailable for the refusal fixtures.
  • The verifier rejected a schema-valid MCP error with the wrong code and kept the completed little-endian report. An injected final sweep failure retained both reports and the cleanup diagnostic. The cleanup regression verified that the original owner survives an ambiguous process group and only signals the verified provider once the group is unambiguous.
  • 114 focused tests, nine documentation assertions, typecheck, lint, Knip, and formatting passed.
  • Full upstream CI for this commit awaits maintainer approval. The separate Apple timeout fix passed its full fork workflow on its own branch. Apple CI

Related to #2734.

Author readiness

Human owner: @Bobtoshi

  • 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.

@Bobtoshi

Copy link
Copy Markdown
Author

@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.

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge; no blocking issue was found.

Summary

Adds a real Ghidra verifier for recordless MIPS32 admission and explicit-o32 MIPS I and GNU soft-float refusals in both byte orders.

  • The MIPS boundary verifier checks both byte orders through CLI and MCP.
  • Verifier cleanup can retry provider runs that outlive their wrappers.
  • The empty Ghidra test group is gone.

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]
Loading

Reviews (14) · Last reviewed commit: "Qualify MIPS32 boundaries and retain fai..." · Reviewed by Greptile

Comment thread scripts/verify-real-ghidra-mips1.mjs Resolved
Comment thread scripts/verify-real-ghidra-mips1.mjs Resolved
@Bobtoshi

Copy link
Copy Markdown
Author

@greptileai please re-review head 652ee67. Both verifier findings are addressed.

The fixture check now observes the conditional beq at 0x401004 and its exact destination 0x401010, alongside the decoded instruction at 0x401008. The old delay_slot: true report overstated the available contract: it now explicitly reports instruction decoding at the expected slot address and marks the delay-slot relationship as not exposed by the instruction contract. The PR description uses that same narrower claim.

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.

@Bobtoshi
Bobtoshi marked this pull request as ready for review October 13, 2026 17:53
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 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-13T20:45:41.943401Z 1051072 New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/ghidra/GhidraMipsProfile.ts Resolved
Comment thread src/ghidra/GhidraMipsProfile.ts Resolved
@morluto
morluto force-pushed the codex/mips1-verification branch from 652ee67 to 992216e Compare October 13, 2026 18:08
@greptile-apps

greptile-apps Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Want your agent to iterate on Greptile's feedback? Try greploops.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/ghidra/GhidraMipsProfile.ts Resolved
Comment thread src/ghidra/GhidraMipsProfile.ts Resolved
@morluto
morluto force-pushed the codex/mips1-verification branch from 992216e to 2b5c34b Compare October 13, 2026 18:24
@morluto
morluto force-pushed the codex/mips1-verification branch from 2b5c34b to d8630ea Compare October 13, 2026 18:37

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread scripts/verify-real-ghidra-mips1.mjs Resolved
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.
@Bobtoshi Bobtoshi changed the title feat(ghidra): admit verified recordless MIPS I o32 executables fix(mips)!: refuse uninspected GNU ABI attributes Oct 13, 2026
@Bobtoshi

Copy link
Copy Markdown
Author

@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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@Bobtoshi

Copy link
Copy Markdown
Author

@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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/application/MipsElfMetadata.ts Resolved
@morluto morluto added area: domain Domain logic, errors, and pure functions bug Something isn't working labels Oct 14, 2026
morluto added a commit that referenced this pull request Oct 14, 2026
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.
@CassieFox23

CassieFox23 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Heads up: main covers this in its own way in d4bd65c. The code is in src/application/MipsElfMetadata.ts, and MIPS GNU attribute parsing shows it. It is listed on tracker #3582. If this PR still adds something main doesn't have, please say so here and I'll take it off the list. Thanks for the fix!

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) 🦊

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@Bobtoshi

Copy link
Copy Markdown
Author

The three review fixes are on 624b8799d. The verifier uses the shared startup deadline, checks the actual MIPS I limitation in public Evidence, and retries inspector close on the same host while preserving diagnostics. All 171 focused tests and both real Ghidra byte orders passed. The PR description records the current verification and links the successful full fork CI on 68862625c.

@greptileai please review 624b8799d.

@morluto, could you approve the current commit’s upstream workflows? CI · PR title · CodeQL

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.
@Bobtoshi

Bobtoshi commented Nov 13, 2026 •

Copy link
Copy Markdown
Author

The verifier fixes are pushed in 10510729b. Real Ghidra 12.1.4 passed the recordless MIPS32 control in both byte orders. The verifier now checks the public MCP refusal code, saves completed reports after failure, and retains the same process owner when cleanup needs another attempt. All 114 focused tests and static checks passed.

@morluto, could you approve the upstream CI, PR title, and CodeQL for this commit? Author readiness

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.
@Bobtoshi

Copy link
Copy Markdown
Author

@greptileai please review the current head, 19a9f9835.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.
@Bobtoshi

Bobtoshi commented Nov 13, 2026 •

Copy link
Copy Markdown
Author

@greptileai review

Please use the current head, 3596755f2.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread scripts/lib/verifier-token-cleanup.mjs Resolved
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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +68 to +72
for (const setting of [
"GHIDRA_HEADLESS_MAXMEM",
"GHIDRA_MAXMEM",
"REA_GHIDRA_STARTUP_TIMEOUT_MS",
]) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@CassieFox23

Copy link
Copy Markdown
Contributor

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.

Results

The two files were src/ghidra/GhidraFunctionValues.test.ts and tests/boundary/process/verifierTokenCleanup.test.ts.

Check Node 22.23.4 Node 24.22.1 Node 26.12.1
Test Files pass, 2 passed (2) pass, 2 passed (2) pass, 2 passed (2)
Tests pass, 111 passed (111) pass, 111 passed (111) pass, 111 passed (111)
  • Bobtoshi's reply on 2026-11-13 says 114 focused tests passed. My run of the two files had 111.

Real Ghidra MIPS check

I also ran scripts/verify-real-ghidra-mips-boundaries.mjs with Ghidra 12.2 and JDK 25.0.5, on Node 24.22.1. It exited 0 in 26 s, and its report says "status": "passed".

  • It covers both byte orders, little and big. Both dossiers name provider ghidra, version 12.2.
  • process_lineage is verified, and token_cleanup shows all 3 runs cleaned: true.
  • It used GNU readelf 2.46.1 for the soft-float check.
  • Bobtoshi's reply says real Ghidra 12.1.4 passed this check. This run used 12.2.

CI and branch

  • The PR changes 8 files against the merge base. Two are test files and six are not.
  • The head is 2082 commits behind main c0d3f2e.
  • GitHub shows the head as mergeable true, with state blocked. The PR is not a draft.
  • Workflow runs: CI, CodeQL production and two PR title runs are completed/action_required.
  • PR readiness has one run completed/success and one completed/cancelled.
  • Check runs: Greptile Review is success. Validate author declaration has one success and one cancelled.
  • The commit status PR readiness is success.
  • The CI run has no Source tests, Portable tests or Test shard jobs in its check runs.

Not run

  • A merge with current main, c0d3f2e
Test setup
  • Box: Fedora 44 VM (4 vCPUs, 8 GB, Linux 7.2.11) on my Nobara 44 PC
  • Node: 22.23.4, 24.22.1, 26.12.1
  • Head / base: 1051072 / e2585aa (merge base with main)
  • Install: npm ci --offline and npm run test:prepare on Node 24.22.1
  • MIPS check: Ghidra 12.2 and JDK 25.0.5+8 in the same VM, Node 24.22.1, after npm run build:cached
Commands
npm ci --offline
npm run test:prepare
xvfb-run -a npm run test:focused -- src/ghidra/GhidraFunctionValues.test.ts tests/boundary/process/verifierTokenCleanup.test.ts

# MIPS check
export GHIDRA_INSTALL_DIR=$HOME/.local/opt/ghidra_12.2_PUBLIC JAVA_HOME=$HOME/.local/opt/jdk-25.0.5+8
npm run build:cached
node scripts/verify-real-ghidra-mips-boundaries.mjs

🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊

@morluto morluto added area: tests Test suite and verification provider: ghidra Analysis provider / engine: ghidra labels Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: domain Domain logic, errors, and pure functions area: tests Test suite and verification bug Something isn't working provider: ghidra Analysis provider / engine: ghidra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants