Skip to content

refactor(application): extract BinaryTargetExecutableProbes from BinaryTargetResolver - #13826

Merged
morluto merged 1 commit into
mainfrom
refactor/binary-target-executable-probes
Nov 23, 2026
Merged

morluto merged 1 commit into
mainfrom
refactor/binary-target-executable-probes

Conversation

@morluto

@morluto morluto commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Closes #13825

Summary

  • Extracts ~500 LOC of native executable header probes (MZ/PE, PE CodeView, ELF declarations, thin Mach-O load-command framing, FAT Mach-O slice probes) into src/application/BinaryTargetExecutableProbes.ts.
  • Trims ~500 LOC and ~20 format-specific imports from src/application/BinaryTargetResolver.ts.

Validation

  • npm run test:local -- src/ida/IdaWorkspaceThinning.test.ts src/application/binary/LazyAnalysisProvider.test.ts src/application/binary/BinarySessionBundleResources.test.ts (36/36 passed)
  • npm run check:fast (typecheck, lint, architecture guards passed across 3,056 files)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 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-23T01:19:37.107007Z dd80871 PR opened
ℹ️ 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.

@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This refactor appears safe to merge; no actionable issues were found.

Summary

Moves native executable probes from BinaryTargetResolver.ts into BinaryTargetExecutableProbes.ts without changing their behavior.

  • Native executable checks now live outside the target resolver.

Verification was source-only; tests were not run. Whether this PR has been superseded could not be checked because GitHub access required authentication.

Reviews (1) · Last reviewed commit: "refactor(application): extract BinaryTar..." · Reviewed by Greptile

@morluto
morluto merged commit 686bb09 into main Nov 23, 2026
41 checks passed
@morluto
morluto deleted the refactor/binary-target-executable-probes branch November 23, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(application): extract BinaryTargetExecutableProbes from BinaryTargetResolver

1 participant