Skip to content

refactor: restructure large files#171

Merged
sha0coder merged 1 commit intosha0coder:mainfrom
brandonros:issue-165-restructure-large-files
Apr 7, 2026
Merged

refactor: restructure large files#171
sha0coder merged 1 commit intosha0coder:mainfrom
brandonros:issue-165-restructure-large-files

Conversation

@brandonros
Copy link
Copy Markdown
Contributor

@brandonros brandonros commented Apr 7, 2026

closes #165

@brandonros brandonros force-pushed the issue-165-restructure-large-files branch 4 times, most recently from ae1098e to bfd36b3 Compare April 7, 2026 21:19
@brandonros brandonros marked this pull request as ready for review April 7, 2026 21:19
- split emu execution flow into a directory-backed execution module
- extract shared execution control, decode, REP, and multithread helpers
- split kernel64 structures into domain-oriented modules
- share PE reader helpers and Windows ntdll helper paths
- normalize linux syscall metadata/logging shape
- replace maps scalar string tags with typed enums
- add/update issue sha0coder#165 tracking notes for remaining follow-up

refactor: continue issue-165 large file cleanup

- split linux syscall gateways into family-oriented modules while keeping ABI-specific handlers separate
- extract kernel32 resolver and loader helpers for 32-bit and 64-bit paths under the issue sha0coder#128 shared-semantics, thin-ABI-adaptation rule
- split winapi32/winapi64 ntdll handling into domain-oriented modules and keep common ntdll helpers intentionally small
- split maps helpers into focused inspection, search, and utility modules while preserving banzai behavior, typed scalar helpers, and cross-map operations
- split emu loader orchestration into format-oriented modules for PE, ELF, and Mach-O flows
- update the issue sha0coder#165 todo with completed sections 9-13 and integrated validation status

This commit captures the completed restructure wave and improves navigation and maintenance without forcing unsafe cross-ABI sharing or changing validated behavior. A small follow-up remains for syscall trace/log normalization.

refactor: continue issue-165 closeout wave

- thin linux syscall root files and push remaining handlers into family modules
- thin winapi kernel32 and ntdll roots while keeping shared ntdll helpers small
- split wininet, gdb target, and peb64 into folder-backed module layouts
- continue the PE structural split with binding, relocation, and resource helpers
- update the Issue sha0coder#165 todo with worker results and integrated validation

This commit captures the current closeout wave for Issue sha0coder#165. The integrated tree was reviewed, a bad winapi32 ntdll merge artifact was corrected, and nix-based cargo check plus cargo test passed on x86_64-apple-darwin.

refactor: finish issue-165 closeout wave

- normalize remaining legacy linux syscall tracing behind per-ABI helper-driven formatting
- finish the kernel32 pair thin-down with mirrored folder-backed concern buckets and hub-only root modules
- split PE parser/load orchestration and type definitions into shared, parser, and types modules
- update the issue sha0coder#165 todo and final closeout notes after the combined nix test pass

This closes out the remaining structural work tracked in Issue sha0coder#165 and leaves the consciously deferred large files documented rather than half-refactored.

Co-Authored-By: Codex <codex@openai.com>
@brandonros brandonros force-pushed the issue-165-restructure-large-files branch from bfd36b3 to a455c3d Compare April 7, 2026 21:24
@sha0coder sha0coder merged commit 2bc28f6 into sha0coder:main Apr 7, 2026
3 checks passed
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.

restructure large files

2 participants