Skip to content

Fix dependency listing and attach diagnostics in the checker - #4

Closed
GhostBassist wants to merge 1 commit into
cyanide-burnout:mainfrom
GhostBassist:codex/checker-diagnostics
Closed

GhostBassist wants to merge 1 commit into
cyanide-burnout:mainfrom
GhostBassist:codex/checker-diagnostics

Conversation

@GhostBassist

Copy link
Copy Markdown

Codex Worker submission.

Closes #1.

  • Grow the visited dependency list on demand while continuing to deduplicate modules.
  • Drain the attach child’s stderr through EOF, retry interrupted reads and waits, and report process setup and wait failures.
  • Return status 1 when the requested attach probe fails. Return status 2 for invalid arguments.

Design.md puts the probe in the checker’s child process. This PR keeps that design and improves reporting for the existing loader and provider subset. Compatibility decisions still follow the Wine boundary.

Verified with make check on Ubuntu under WSL (121 loader checks, zero failures) and targeted CLI checks for attach success, a child abort, and invalid arguments.

@cyanide-burnout

Copy link
Copy Markdown
Owner

Thanks. Fixed differently in 453a827: the list of modules stays bounded and reports what is left out, the pipe is read to the end, and a DllMain that does not pass gives exit status 1 (now covered by make check).

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.

Keep dependency listing and attach results reliable in loadlibrary-check

2 participants