Skip to content

refactor(ghidra): share the executable file probe - #14573

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/reuse-ghidra-executable-probe
Nov 25, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
refactor/reuse-ghidra-executable-probe

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Use the existing executable-file predicate for the system installation host and PATH discovery. Both callers require execute access and a regular file, and return false when a filesystem check fails.

Verification

Both predicates matched on five real filesystem controls and four injected failure and call-order cases with Node 24.22.1. The hosted Ghidra 12.2/JDK 25 qualification passed on this commit, including bridge compilation and the native loader-relocation and prototype checks.

@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This refactor appears safe to merge.

Summary

Reuses executablePath for the system installation host and PATH discovery.

  • The system Ghidra host uses the shared executable check.

Reviews (1) · Last reviewed commit: "refactor(ghidra): share the executable f..." · Reviewed by Greptile

@vincentkoc
vincentkoc marked this pull request as ready for review November 25, 2026 16:31
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-25T16:31:06.468106Z
We couldn’t complete this review. Comment @codex review to try again.
e44363c Draft marked ready
ℹ️ 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

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.

@vincentkoc
vincentkoc enabled auto-merge (squash) November 25, 2026 16:31
@vincentkoc
vincentkoc merged commit e22bc84 into main Nov 25, 2026
44 checks passed
@vincentkoc
vincentkoc deleted the refactor/reuse-ghidra-executable-probe branch November 25, 2026 16:43
vincentkoc added a commit that referenced this pull request Nov 25, 2026
…-artifact-cancellation-projection

* commit '3d4633176f15f3bd8072751af788bf31c7f2e0d8':
  refactor(views): reuse JSON record and request-line projections (#14582)
  test(cutter): share loopback listener and descriptor fixtures (#14578)
  ci(apple): give the macOS lane room for the discovered macOS-gated tests
  test(native): accept plutil nesting diagnostics on stdout
  fix(native): admit the missing-UUID dyld_info refusal when it exits 0
  refactor(ghidra): share the executable file probe (#14573)
  refactor(artifacts): reuse carrier ranges and Mach-O field decoding (#14574)
  perf(tar): update global PAX map in place after budget accounting (#14580)
  refactor(manifest): share ordered sibling group traversal (#14571)
  test(browser): reuse page and Evidence inspection fixtures (#14581)
  ci(apple): run the macOS lane when a pull request changes a macOS-gated test
  test(cli): use the registered argument schemas directly (#14586)
  test(bun): share the file-handle read observer (#14577)
  test(mcp): share the successful tool assertion (#14576)
  test(uefi): reuse the driver file across firmware fixtures (#14570)
  feat(delivery)!: bound default results by an agent result budget (#14252)
vincentkoc added a commit that referenced this pull request Nov 25, 2026
* commit '3d4633176f15f3bd8072751af788bf31c7f2e0d8':
  refactor(views): reuse JSON record and request-line projections (#14582)
  test(cutter): share loopback listener and descriptor fixtures (#14578)
  ci(apple): give the macOS lane room for the discovered macOS-gated tests
  test(native): accept plutil nesting diagnostics on stdout
  fix(native): admit the missing-UUID dyld_info refusal when it exits 0
  refactor(ghidra): share the executable file probe (#14573)
  refactor(artifacts): reuse carrier ranges and Mach-O field decoding (#14574)
  perf(tar): update global PAX map in place after budget accounting (#14580)
  refactor(manifest): share ordered sibling group traversal (#14571)
  test(browser): reuse page and Evidence inspection fixtures (#14581)
  ci(apple): run the macOS lane when a pull request changes a macOS-gated test
  test(cli): use the registered argument schemas directly (#14586)
  test(bun): share the file-handle read observer (#14577)
  test(mcp): share the successful tool assertion (#14576)
  test(uefi): reuse the driver file across firmware fixtures (#14570)
  feat(delivery)!: bound default results by an agent result budget (#14252)
  ci(apple): discover and run every macOS-gated test on macOS
  test(apple): expect path-selected inspect_artifact in resource-only sessions
  fix(errors)!: keep only changed reader integrity checks retryable
@morluto morluto added the provider: ghidra Analysis provider / engine: ghidra label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

provider: ghidra Analysis provider / engine: ghidra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants